Created
June 30, 2020 09:38
-
-
Save BinaryMoon/68b8f8249c758b42d9d40307098bdfa5 to your computer and use it in GitHub Desktop.
Disable WordPress editor styles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Disable editor styles. | |
* Plugin URI: https://prothemedesign.com | |
* Description: Remove support for editor styles. | |
* Author: Ben Gillbanks | |
* Version: 1.0 | |
* Author URI: https://prothemedesign.com | |
*/ | |
add_action( | |
'init', | |
function() { | |
remove_theme_support( 'editor-styles' ); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment