Trying to figure out how to hide TinyMCE Controls (forcolor mainly) in WordPress 3.9 beta 2.
The code that was working in 3.8.1 was
$init['theme_advanced_disable'] = 'forecolor';
but theme_advanced_disable no longer seems to work. I can define the whole bar with
$init['toolbar1'] = '...';'
but all I really need to do is hide a few options. I feel like I’m just missing the new name… can anyone point me in the right direction?
I’m not sure if there is an official way to do this in TinyMCE 4.0 or not, I can’t find any references in their docs or on WordPress – below is a PHP method you could use to do this:
You can filter the various toolbars in TMCE4, as you could in TMCE3.