[WordPress] How to Set Default Values for Article Content in New Posts (post-new.php)
I’ll introduce a snippet to set default values for article content in WordPress new posts (post-new.php).
// Set default values for article content on new post page
add_filter('default_content', 'default_content_filter');
function default_content_filter($post_content){
$post_content = "[cft format=0]";
return $post_content;
}
Add this to wp-content/themes/your-current-theme/functions.php.
That’s all from the Gemba.