Snippets

Joey Hernandez WordPress - Disable Gutenberg

Created by Joey Hernandez
1
2
3
4
5
6
7
8
/*
 * disable gutenberg
 */
function disable_gutenberg_editor()
{
    return false;
}
add_filter("use_block_editor_for_post_type", "disable_gutenberg_editor");

Comments (0)