page_template_hierarchy
page_template_hierarchy
Appears in: gutenberg.18.2.0
Hook Type: filter
See hook in action
Displaying hooks found in version: gutenberg.18.2.0apply_filters('page_template_hierarchy') is found 1 times:
- /lib/compat/wordpress-6.6/block-template-utils.php line 30
return apply_filters( 'index_template_hierarchy', array( 'index' ) ); } if ( $is_custom ) { /** This filter is documented in wp-includes/template.php */ return apply_filters( 'page_template_hierarchy', array( 'page', 'singular', 'index' ) ); } if ( 'front-page' === $slug ) { /** This filter is documented in wp-includes/template.php */ return apply_filters( 'frontpage_template_hierarchy', array( 'front-page', 'home', 'index' ) ); }