Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
remove plain editor from wordpress waiting for guttenberg support on pages
function hide_editor() {
remove_post_type_support('page', 'editor');
}
add_action( 'admin_init', 'hide_editor' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.