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);

WordPress Help

By Warren Groom

Bespoke WordPress developer with 15+ years of experience, supporting partner agencies. WordPress design, custom theme development, maintenance, hosting & security.