default_page_template_title WordPress Filter Hook
This hook is called when the default page template is selected for a new page. It can be used to change the page template title displayed in the dropdown menu on the page edit screen.
apply_filters( 'default_page_template_title', string $label , string $context ) #
Filters the title of the default page template displayed in the drop-down.
Parameters
- $label
(string)The display value for the default page template title.
- $context
(string)Where the option label is displayed. Possible values include 'meta-box' or 'quick-edit'.
Source
Changelog
Version | Description |
---|---|
4.1.0 | Introduced. |