The WPFolks app is out on iPhone and Android. Free, no ads. Download on the App Store Get it on Google Play
Skip to main content
Login Join
Snippet · PHP

Disable the Gutenberg Block Editor

Shared by Amit Dholiya · October 10, 2026 · @use_block_editor_for_post

1 view
1 upvote
Back to Snippets

Description: Switches back to the Classic Editor for posts and pages.

Hook: use_block_editor_for_post (filter)

How to use: Add it to your child theme’s functions.php or a snippet plugin. It takes effect immediately for all posts.

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

Tested on

WordPress 6.8

Reported by the author on October 10, 2026. WPFolks has not verified this.

Not tested against WordPress 7.1.3. It may still work.

Know a different way to do this? Add your approach as a variation so folks can compare them side by side.
Submit a variation

0 comments