frontpage_template_hierarchy, array( front-page, home, index
frontpage_template_hierarchy, array( front-page, home, index
Appears in: 7.0.3
Hook Type: filter
Displaying hooks found in version: 7.0.3apply_filters('frontpage_template_hierarchy, array( front-page, home, index') is found 1 times:
- /wp-includes/block-template-utils.php line 1606
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' ) ); } $matches = array(); $template_hierarchy = array( $slug ); // Most default templates don't have `$template_prefix` assigned.