Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function myplugin_tinymce_buttons( $buttons ) {
- //Remove the text color selector
- $remove = 'forecolor';
- //Find the array key and then unset
- if ( ( $key = array_search( $remove, $buttons ) ) !== false )
- unset( $buttons[$key] );
- return $buttons;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement