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 Description
Parameters Parameters
- $placeholder_text
-
(Optional) Placeholder text to be shown. Default is 'Write your story'.
Default value: ' '
- $post
-
(Optional) WP_Post instance of post_type being added.
Default value: null
Return Return
(string) $placeholder_text.
Source Source
File: includes/admin/class-learndash-admin-posts-edit.php
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |