Hi,
when owner tries to do a new listing, appears the same title (add details) that when users confirm their reservation. I´m trying to change it in loco translate, but it works to both titles and I need two diferent fields, so users to see confirm reservation instead of add details.
How could I sove it?
thanks
Hi!
Please try this PHP snippet:
add_filter(
'hivepress/v1/routes',
function( $routes ) {
if(isset($routes['listing_submit_details_page'])){
$routes['listing_submit_details_page']['title'] = 'Add listing details';
}
return $routes;
},
1000
);
Solved!
thanks
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.