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

In this article

Filters the list of default template types.

Parameters

$default_template_typesarray[]
An array of template types, formatted as [ slug => [ title, 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.