Created
April 13, 2016 12:00
-
-
Save tiberiur/3558392d89bdfea1801be0024be42199 to your computer and use it in GitHub Desktop.
[WP] Remove default editor
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
function remove_wysiwyg() | |
{ | |
remove_post_type_support('page', 'editor'); | |
} | |
add_action('init', 'remove_wysiwyg', 10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment