Snippets: Override the Page Header Title with a Custom Template

You can use the wpex_{location}_template_id filter to override any theme location Below is an example showing how you could override the page_header location with your custom template ID.

add_filter( 'wpex_page_header_template_id', function( $id ) {
	return 'YOUR_TEMPLATE_ID';
} );

Version Required:5.1.1+

Snippet Type: PHP

Posted Under: Page Title

All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)