How To Remove Tabs From WordPress Default Text Editor
Copy the below code and paste it inside the functions.php file from your current activated theme’s folder.
//remove the visual & text tab options
add_filter( ‘user_can_richedit’ , ‘__return_false’, 50 );
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.
Leave a reply
You must login or register to add a new comment .