Created
May 1, 2020 21:36
-
-
Save dospuntocero/af8ef6801d722710340d084ad38ad78a to your computer and use it in GitHub Desktop.
remove main editor wordpress
This file contains hidden or 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
add_action( 'init', function() { | |
remove_post_type_support( 'page', 'editor' ); | |
}, 10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment