wpseek.com
A WordPress-centric search engine for devs and theme authors



default_template_types › WordPress Filter Hooks

Since5.9.0
Deprecatedn/a
apply_filters( 'default_template_types', $default_template_types )
Parameters:
  • (array) $default_template_types An array of template types, formatted as [ slug => [ title, description ] ].
    Required: Yes
Defined at:
Codex:

Filters the list of template types.





Source

return apply_filters( 'default_template_types', $default_template_types );