default_template_types

default_template_types

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('default_template_types') is found 1 times:

  • /wp-includes/block-template-utils.php line 183
    	 * @since 5.9.0
    	 *
    	 * @param array[] $default_template_types An array of template types, formatted as [ slug => [ title, description ] ].
    	 */
    	return apply_filters( 'default_template_types', $default_template_types );
    }
    
    /**
     * Checks whether the input 'area' is a supported value.
     * Returns the input if supported, otherwise returns the 'uncategorized' value.
     *
    

See this hook used in plugins: