disable gutenberg function code example
Example: disable gutenberg function
// 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);