I was wondering, is it possible to set default text to appear inside “text” part of the wysiwyg located on Create post page? So every time you click add new post that text would be there waiting for you?
Leave a Reply
You must be logged in to post a comment.
There is a filter named
default_content
. It does exactly what the name says. 🙂Example:
As you can see, the post type is already available, so you could set different defaults for different post types.
Related filters are
default_title
anddefault_excerpt
. They work the same way.You can also send someone a link with parameters for
content
,post_title
andexcerpt
:Output: