Single page Template for pages that begin with ‘confirmation-‘
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, … Read more