Skip to content

Instantly share code, notes, and snippets.

@dospuntocero
Created May 1, 2020 21:36
Show Gist options
  • Save dospuntocero/af8ef6801d722710340d084ad38ad78a to your computer and use it in GitHub Desktop.
Save dospuntocero/af8ef6801d722710340d084ad38ad78a to your computer and use it in GitHub Desktop.
remove main editor wordpress
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