Guest User

Wp Editor on Metabox - attempt 3

a guest
Oct 8th, 2013
229
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_action("admin_head","myplugin_load_tiny_mce2");
  2.  
  3. function myplugin_load_tiny_mce2() {
  4. wp_editor($meta_additional, 'name_goes_here', array(
  5. 'wpautop' => true,
  6. 'media_buttons' => false,
  7. 'textarea_name' => 'att_meta_bio',
  8. 'textarea_rows' => 10,
  9. 'teeny' => true
  10. ));
  11. }
RAW Paste Data