Skip to content

Instantly share code, notes, and snippets.

@metelidrissi
Created September 17, 2019 14:56
Show Gist options
  • Save metelidrissi/5416ed552961bae0552cf66f91280f3c to your computer and use it in GitHub Desktop.
Save metelidrissi/5416ed552961bae0552cf66f91280f3c to your computer and use it in GitHub Desktop.
Deshabilitar Gutenberg en WordPress
// disable for posts
add_filter(‘use_block_editor_for_post’, ‘__return_false’, 10);
// disable for post types
add_filter(‘use_block_editor_for_post_type’, ‘__return_false’, 10);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment