wordpress remove gutenberg filter code example
Example: disable gutenberg for pages 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);