Learndash_Admin_Post_Edit::gutenberg_placeholder_write_your_story

Learndash_Admin_Post_Edit::gutenberg_placeholder_write_your_story( string $placeholder_text = ' ',  object $post = null )

Override Gutenberg placeholder text shown when adding new post.


Description #


Parameters #

$placeholder_text

(string) (Optional) Placeholder text to be shown. Default is 'Write your story'.

Default value: ' '

$post

(object) (Optional) WP_Post instance of post_type being added.

Default value: null


Return #

(string) $placeholder_text.


Source #

File: includes/admin/class-learndash-admin-posts-edit.php


Changelog #

Changelog
Version Description
2.6.0 Introduced.