WordPress – How to Remove the WSWIG Editor

WordPress - How to Remove the WSWIG Editor 1

In order to remove the WSWIG editor from your WordPress posts, pages and custom post types, simply add the following code to your WordPress themes functions.php file:

/*
Disable WSWIG Editor
*/
functionemersonthis_disable_visual_editor(){# add logic here if you want to permit it selectivelyreturnfalse;}add_filter('user_can_richedit','emersonthis_disable_visual_editor',50);

Lets Chat

I'd love to discuss your project, and assess whether I'm a good fit to move it forward.

416.347.9052 warren@warrengroom.com