Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action("admin_head","load_custom_wp_tiny_mce");
- function load_custom_wp_tiny_mce() {
- $initial_data='What you want to appear in the text box initially';
- $settings = array(
- 'quicktags' => array('buttons' => 'em,strong,link',),
- 'textarea_name'=>'att_meta_bio',//name you want for the textarea
- 'quicktags' => true,
- 'tinymce' => true
- );
- $id = 'att_meta_bio';//has to be lower case
- wp_editor($initial_data,$id,$settings);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement