Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/edit-form-advanced.php | apply_filters | 519 | /** * Filters the title field placeholder text. * * @since 3.1.0 * * @param string $text Placeholder text. Default 'Add title'. * @param WP_Post $post Post object. */ |
wp-admin/edit-form-blocks.php | apply_filters | 196 | /** * Filters the body placeholder text. * * @since 5.0.0 * @since 5.8.0 Changed the default placeholder text. * * @param string $text Placeholder text. Default 'Type / to choose a block'. * @param WP_Post $post Post object. */ |
wp-admin/includes/dashboard.php | apply_filters | 575 | /** * The Quick Draft widget display and creation of drafts. * * @since 3.8.0 * * @global int $post_ID * * @param string|false $error_msg Optional. Error message. Default false. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $text | Placeholder text. Default 'Add title'. |
WP_Post | $post | Post object. |