Description
Filters the body placeholder text.
Occurrences
Filename | Line Number |
---|---|
wp-admin/edit-form-blocks.php | 193 |
Parameters
Type | Name | Description |
---|---|---|
string | $text | Placeholder text. Default 'Type / to choose a block'. |
WP_Post | $post | Post object. |
PHP Doc
/**
* 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.
*/