Remove the New Gutenberg Editor from Wordpress Admin

The new WordPress 5.0 Gutenberg is a great step for future WordPress sites. But if you have been developing sites with ACF and or Shortcodes then this is a terrible upgrade.

Simply add this code to your functions.php file and you will have the original WYSIWYG editor that we all love and are used to.

Usage:

/* NO GUTENBERG */

add_filter('use_block_editor_for_post', '__return_false', 10);
add_filter('use_block_editor_for_post_type', '__return_false', 10);