Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Nov 18th, 2018 65 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. function convert_textarea_to_wysiwyg() {
  2. $id=$_GET["tag_ID"];
  3. $content="";
  4. $editor_id="Cat_meta[cat_second_description]";
  5. $settings= array(
  6.     'tinymce' => array(
  7.     'selector'         => '#Cat_meta[cat_second_description]',
  8.     'content_css'      => false,
  9.     'inline'           => true,),
  10. );
  11.  
  12. wp_editor( unescape($content), $editor_id, $settings );
  13. }
  14.  
  15. add_filter('edit_category_form', 'convert_textarea_to_wysiwyg');
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top