AI Verified

Name

Disable Gutenberg Editor (use Classic Editor)

About

Switch back to the Classic Editor by disablling the Block Editor.

Language

PHP

Rating

Voted: 0 by 0 user(s)

Codevault

Standards

Scroll down to see more snippets from this codevault.

Wordpress Compatability

The author has indicated that this snippet is compatable up to wordpress version: Not Specified

Our AI bot has checked this snippet is compatable up to wordpress version: 6.1

Code Snippet Plugin Sync

Free & Pro

Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.

Pro Only (Coming Soon)

You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.

History

Last modified:

10/10/2023

Important Note

This snippet has the following status:

AI Verified

This snippet has been tested by our AI bot, see any comments below.

AI Bot Comments:

Found 0 vulnerabilities

Disable Gutenberg Editor (use Classic Editor)

 
                    
1add_filter('gutenberg_can_edit_post', '__return_false', 5);
2add_filter('use_block_editor_for_post', '__return_false', 5);

0

Related Snippets

Please see some snippets below related to this snippet..

General

AI Verified

0

Make upload filenames lowercase

Added: 7 months ago

Last Updated: 7 months ago

Makes sure that image and file uploads have lowercase filenames. This is a sample snippet. Feel free to use it, edit it, or remove it.

General

Unverified

0

Reveal-Content-Password

Added: 5 months ago

Last Updated: 5 months ago

Add this to a HTML Widget. And then add containers, items, or anything that you want and assign them the ID sec1 or sec2 (as in the code) - but you could add any name that you want. Make sure that...

General

AI Verified

0

Insert WordPress website name via custom shortcode

Added: 7 months ago

Last Updated: 7 months ago

Displays the website name wherever the custom shortcode is inserted.

Other Snippets in this Codevault

These are some popular snippets from this users codevault..

General

AI Verified

0

Enable Shortcode Execution in Text Widgets

Added: 8 months ago

Last Updated: 8 months ago

Extend the default Text Widget with shortcode execution.

General

AI Verified

0

Disable Attachment Pages

Added: 8 months ago

Last Updated: 8 months ago

Hide the Attachment/Attachments pages on the frontend from all visitors.

General

AI Verified

0

Disable Widget Blocks

Added: 8 months ago

Last Updated: 8 months ago

Use the classic interface instead of Blocks to manage Widgets.