Discover in this tutorial how to hide the “Library” button when using the EditorsKit plugin with a simple code snippet.
I use the EditorsKit plugin, which extends the block editor options, on many client sites, as it allows them more control from the editor interface.
Recently the plugin was acquired by Extendify and suddenly a new “Library” button appeared at the top of the block editor.
![](https://osomcode.com/wp-content/uploads/2021/09/boton-library-editor-bloques-plugin-Editorskit.jpg)
At first it seemed too aggressive a decision for my taste, plus at the beginning there was no way to hide it.
Fortunately, now you can do it from the editor options, from the top right menu of the editor (in the 3 dots) > Disable Extendify:
![](https://osomcode.com/wp-content/uploads/2021/09/Deshabilitar-la-libreria-Extendify-EditorsKit.jpg)
But it only disables it at the user level.
So if you want to avoid confusion among your customers you have to use code.
Luckily, there is a filter that allows you to do this easily.
Let’s see how.
Snippet to remove the “Library” button added by EditorsKit plugin
Add the following snippet to your mu-plugin (must-use-plugin)
If you don’t have one yet, create a file inside the mu-plugins folder (inside the /wp-content/ folder) with the name functions-mu.php (or whatever you want) and add the following:
To see this and another 1091 code snippets of this website, login or subscribe here.
It’s that simple. With this you avoid that the button misleads your customers.
Conclusion
Now you know how to remove the “Library” button added by the EditorsKit plugin for all WordPress users, avoiding possible confusion. 😉
If you have any question, please leave it in the comments. And if you want to give me a suggestion for future snippets, please send it through the contact form.
Benefits of being a subscriber. 🙂