default_template_types WordPress Filter Hook
The default_template_types hook is a filter hook that allows for the modification of the default template types. This hook is useful for customizing the default behavior of your Wordpress site.
apply_filters( 'default_template_types', array $default_template_types ) #
Filters the list of template types.
Parameters
- $default_template_types
(array)An array of template types, formatted as [ slug => [ title, description ] ].
Source
Changelog
Version | Description |
---|---|
5.9.0 | Introduced. |