// disable for posts add_filter('use_block_editor_for_post', '__return_false', 100); // disable for post types add_filter('use_block_editor_for_post_type', '__return_false', 100);

disable gutenberg function