Filters the title of the default page template displayed in the drop-down.
Parameters
$labelstring- The display value for the default page template title.
$contextstring- Where the option label is displayed. Possible values include
'meta-box'or'quick-edit'.
Source
$default_title = apply_filters( 'default_page_template_title', __( 'Default template' ), 'meta-box' );
Changelog
| Version | Description |
|---|---|
| 4.1.0 | Introduced. |
Example migrated from Codex:
Modify the title of the default page template displayed in the drop-down.