×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Web Designer
Added: Nov 7, 2017 9:09 AM
Views: 4
  1.  
  2. if ( !function_exists( 'melma_tinymce_more_buttons' ) ) {
  3.  
  4.  
  5.     function melma_tinymce_more_buttons( $buttons ) {
  6.  
  7.         $buttons[] = 'alignjustify';
  8.         $buttons[] = 'backcolor';
  9.         $buttons[] = 'charmap';
  10.         $buttons[] = 'copy';
  11.         $buttons[] = 'cut';
  12.         $buttons[] = 'fontsizeselect';
  13.         $buttons[] = 'hr';
  14.         $buttons[] = 'newdocument';
  15.         $buttons[] = 'styleselect';
  16.         $buttons[] = 'underline';
  17.         $buttons[] = 'fontselect';
  18.  
  19.         return $buttons;
  20.  
  21.     }
  22.  
  23.     add_filter( 'mce_buttons_3', 'melma_tinymce_more_buttons' );
  24. }
  25.