Created
December 20, 2018 10:13
-
-
Save IacopoC/ecdd285eebcf172d0303813ff034a386 to your computer and use it in GitHub Desktop.
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
<?php | |
// 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