WordPress at Your Fingertips
filter is not described

write_your_story filter-hook . WP 5.0.0

Filters the body placeholder text.

Usage

add_filter( 'write_your_story', 'filter_function_name_4809', 10, 2 );
function filter_function_name_4809( $text, $post ){
	// filter...

	return $text;
}
$text(string)
Placeholder text.
Default: 'Type / to choose a block'
$post(WP_Post)
Post object.

Changelog

Since 5.0.0 Introduced.
Since 5.8.0 Changed the default placeholder text.

Where the hook is called

In file: /wp-admin/edit-form-blocks.php
write_your_story
wp-admin/edit-form-blocks.php 175
$body_placeholder = apply_filters( 'write_your_story', __( 'Type / to choose a block' ), $post );

Where in WP core the hook is used WordPress

Usage not found.