apply_filters( ‘write_your_story’, string $text, WP_Post $post )

In this article

Filters the body placeholder text.

Parameters

$textstring
Placeholder text. Default ‘Type / to choose a block’.
$postWP_Post
Post object.

Source

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

Changelog

VersionDescription
5.8.0Changed the default placeholder text.
5.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.