Advertisement
miriamdepaula

WordPress: Define default content body

Jun 7th, 2012
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.20 KB | None | 0 0
  1. <?php
  2. add_filter('default_content', 'my_editor_content');
  3.  
  4. function my_editor_content( $content ) {
  5.     $content = "If you enjoyed this post, make sure to subscribe to my rss feed.";
  6.     return $content;
  7. }
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement