-
-
Save palmiak/ca68cba221e28c9efc037c6d6efd5af3 to your computer and use it in GitHub Desktop.
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
<?php | |
// Disable Gutenberg | |
add_filter( 'gutenberg_can_edit_post_type', '__return_false' ); | |
add_filter( 'use_block_editor_for_post_type', '__return_false' ); | |
// Disable "Try Gutenberg" panel | |
remove_action( 'try_gutenberg_panel', 'wp_try_gutenberg_panel' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment