How to Remove Visual Tab From WordPress Default Editor

| Last Updated: | In: WordPress, WordPress Beginners, WordPress Snippets


If you want to remove the Visual and Text switch tabs from your default WordPress editor, then keep your close eye in this tutorial as I am going to share the simple WordPress tricks to remove the visual tabs.

how to remove visual & text tabs from default editor from frontend website

Copy the below code and paste it inside the functions.php file from your current activated theme’s folder.

how to remove visual & text tabs from default editor from WordPress Admin

We have used to hide the editor tabs easily with the help of CSS. We’ll output some CSS to the admin’s head to do that. Below code will hide the visual tab option from the new post page. If you want to hide it for the page as well, then add your conditions in below if statement.

Hope this tutorial helps you. Please do you like & share this tutorial with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool WordPress tutorials.


About: Prem Tiwari

Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.


You may also like:


, , ,