Skip to content

Instantly share code, notes, and snippets.

@hivepress
Created December 7, 2022 15:55
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hivepress/3fe4713d38dca85edab405aa8341e126 to your computer and use it in GitHub Desktop.
Save hivepress/3fe4713d38dca85edab405aa8341e126 to your computer and use it in GitHub Desktop.
Change the Add Details page title for listings #hivepress #listings
<?php
add_filter(
'hivepress/v1/routes',
function( $routes ) {
$routes['listing_submit_details_page']['title'] = 'Custom title here';
return $routes;
},
1000
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment