On this page
apply_filters( 'enter_title_here', string $text, WP_Post $post )
Filters the title field placeholder text.
Parameters
$textstring-
Placeholder text. Default 'Add title'.
$postWP_Post-
Post object.
Source
File: wp-admin/edit-form-advanced.php. View all references
$title_placeholder = apply_filters( 'enter_title_here', __( 'Add title' ), $post );
Related
Used By
| Used By | Description |
|---|---|
| wp_dashboard_quick_press() wp-admin/includes/dashboard.php | The Quick Draft widget display and creation of drafts. |
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/enter_title_here