Scroll to top

How to disable gutenberg without any plugin

You just have to add this line of code at the end of your active theme’s functions.php file and it will disable gutenberg content builder to show on your pages and posts etc.

add_filter('use_block_editor_for_post', '__return_false');
Share Post:
Author avatar
Zahid Iqbal
I am a web designer and developer working full-time.

Post a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.