How to Add Default Content in WordPress Post

Last Updated On: January 21, 2016

 

Open  WordPress theme’s functions.php file ( or child theme functions.php ) and paste the following code within the PHP tags.

add_filter( 'default_content', 'my_editor_content' );
function my_editor_content( $content ) {
$content = 'This is default wp editor content. Shortcode are welcome!';
return $content;
}