How to return old WordPress widgets. Code example open

How to return old WordPress widgets. Code example

Approved. Code works!
This is exactly the working code that is verified by the moderator or site administrators
Tested: PHP 5.6

In WordPress 5.8, a new widget system was added – block widgets. Not everyone liked the new system, and some prefer to continue using the old block editor. To return the old block editor, add the code below to your file function.php:

add_filter( 'gutenberg_use_widgets_block_editor', '__return_false' );
add_filter( 'use_widgets_block_editor', '__return_false' );
0

More

Leave a Reply

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

How many?: 22 + 22

lil-code© | 2022 - 2024
Go Top
Authorization
*
*
Registration
*
*
*
*
Password generation