wpseek.com
A WordPress-centric search engine for devs and theme authors



write_your_story › WordPress Filter Hooks

Since5.8.0
Deprecatedn/a
apply_filters( 'write_your_story', __( 'Type / to choose a block' )
Parameters: (2)
  • (string) $text Placeholder text. Default 'Type / to choose a block'.
    Required: Yes
  • (WP_Post) $post Post object.
    Required: Yes
Defined at:
Codex:

Filters the body placeholder text.





Source

$body_placeholder = apply_filters( 'write_your_story', __( 'Type / to choose a block' ), $post );