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 ] ].

Top ↑

Source

File: wp-includes/block-template-utils.php. View all references

return apply_filters( 'default_template_types', $default_template_types );


Top ↑

Changelog

Changelog
Version Description
5.9.0 Introduced.

Top ↑

User Contributed Notes

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