On this page
apply_filters( 'default_page_template_title', string $label, string $context )
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
File: wp-admin/includes/meta-boxes.php. View all references
$default_title = apply_filters( 'default_page_template_title', __( 'Default template' ), 'meta-box' );
Related
Used By
| Used By | Description |
|---|---|
| page_attributes_meta_box() wp-admin/includes/meta-boxes.php | Displays page attributes form fields. |
| WP_Posts_List_Table::inline_edit() wp-admin/includes/class-wp-posts-list-table.php | Outputs the hidden row displayed when inline editing |
Changelog
| Version | Description |
|---|---|
| 4.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/default_page_template_title