WP Editor
How to setting some instruction content on wp editor
You may know that some of the popular blog, when you open editor to post anything on the editor show some their term & condition or instruction content for blogging platform. Today I am going to describe how to show the content in WordPress editor.
You can do this very easily. You need to take below code in you theme functions.php file.
function default_content_test( $content ) { $content = "Your content here."; return $content; } add_filter( 'default_content', 'default_content_test' );
Here replaced ‘Your content here’ line by your content which want show instruction content in new open editor.
Hopefully this is working. If you faced any problem comment here.
Comments are closed