![Disable Gutenberg editor WordPress 5 Disable Gutenberg editor WordPress 5](https://www.johnperricruz.com/wp-content/uploads/2018/07/wp.jpg)
This function will disable Gutenberg editor on WordPress 5 and will use native wordpress WYSIWYG editor.
// 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);