Hot answers tagged

2

We can make use of the page_template filter to achieve this. All we need to do is to make sure that confirmation is the first word in the page page title add_filter( 'page_template', function ( $template ) { // Get the current page object $post = get_queried_object(); /** * Get the first instance of confirmation, if it is not 0, bail ...



Only top voted, non community-wiki answers of a minimum length are eligible