Extend WordPress visual editor

The Visual Editor in WordPress Admin is missing out some basic buttons like hr, del and ins. To activate more buttons, just add this to functions.php.

Code Snippet:

<?php
function add_more_buttons($buttons) {
 $buttons&#91;&#93; = 'hr';
 $buttons&#91;&#93; = 'del';
 $buttons&#91;&#93; = 'sub';
 $buttons&#91;&#93; = 'sup';
 $buttons&#91;&#93; = 'fontselect';
 $buttons&#91;&#93; = 'fontsizeselect';
 $buttons&#91;&#93; = 'cleanup';
 $buttons&#91;&#93; = 'styleselect';
 return $buttons;
}
add_filter("mce_buttons_3", "add_more_buttons");
?>

Posted in Admin area