{$type}_template_hierarchy

{$type}_template_hierarchy

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.3.2

apply_filters('{$type}_template_hierarchy') is found 1 times:

  • /wp-includes/template.php line 42
    	 * @since 4.7.0
    	 *
    	 * @param array $templates A list of template candidates, in descending order of priority.
    	 */
    	$templates = apply_filters( "{$type}_template_hierarchy", $templates );
    
    	$template = locate_template( $templates );
    
    	/**
    	 * Filters the path of the queried template by type.
    	 *