apply_filters( ‘default_template_types’, array[] $default_template_types )

In this article

Filters the list of default template types.

Parameters

$default_template_typesarray[]
The default template types.
  • ...$0 array
    Data for the template type.
    • title string
      Template type title.
    • description string
      Template type description.

Source

return apply_filters( 'default_template_types', $default_template_types );

Changelog

VersionDescription
5.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.