Filters the default post content initially used in the “Write Post” form.
$post_contentstring
$postWP_Post
$post->post_content = (string) apply_filters( 'default_content', $post_content, $post );
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/default_content