Return to Snippet

Revision: 54244
at December 16, 2011 11:39 by f6design


Initial Code
/**
 * Customize tinymce formatting buttons.
 */
function myformatTinyMCE($in) {
 $in['theme_advanced_buttons1']='bold,italic,|,bullist,numlist,blockquote,|,link,unlink,|,wp_adv';
 $in['theme_advanced_buttons2']='pastetext,pasteword,removeformat,|,charmap,|,undo,redo';

 return $in;
}
add_filter('tiny_mce_before_init', 'myformatTinyMCE' );

Initial URL

                                

Initial Description
Customize the TinyMCE buttons that are displayed in the Wordpress editor. Add this to your Wordpress theme's functions.php file.

Initial Title
Wordpress: Customize TinyMCE buttons

Initial Tags

                                

Initial Language
PHP