The title of the add listing page and the page before checkout is the same title “Add details”.
I want to change the title for the page before the checkout page. how can I do it?
Please try this PHP snippet
add_filter(
'hivepress/v1/routes',
function( $routes ) {
if(isset($routes['booking_make_details_page'])){
$routes['booking_make_details_page']['title'] = 'custom title';
}
return $routes;
},
1000
);
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.