When registering Listing the Headline “Register a listing” is correct.
We have changed the Workflow slightly and if someone requests a listing he/she needs to put in adress details. Here the Headline “Register a listing” needs to be different. Is there any Snippet I can use to change it?
Please try this PHP snippet to change the title on the booking make page
add_filter(
'hivepress/v1/routes',
function( $routes ) {
if(isset($routes['booking_make_details_page'])){
$routes['booking_make_details_page']['title'] = 'Your custom text';
}
return $routes;
},
1000
);
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.