Category: WordPress

Sometimes you want to customize the look and feel of WordPress.

There are many ways to remove some buttons from the WordPress richtext editor (TinyMCE).

You can target the button with CSS and hide it OR you can remove the button by using a WordPress filter for that.

Either way can work depending on how much time you current have.

To target the elements we need to hook into mce_buttons and mce_external_plugins WordPress filters.

 

The function that we register will receive the data in this format:

 

To remove the buttons you don't need you can use this code. Make sure you replace "some-plugin" text with the ID that you'd like to remove.

 

Join our mailing list

Get important news about cool products we release and invitations to beta test new products
We're working on a secure & flexible WordPress hosting solution. Read for more info (has 1min video)