Home / Widgets / Disable Widgets blocks
Duplicate Snippet

Embed Snippet on Your Site

Disable Widgets blocks

Code Preview
php
<?php
//Disable Widgets blocks
add_filter( 'use_widgets_block_editor', '__return_false' );

Comments

Add a Comment