Enfold alte Widgets wiederherstellen

 /**
 * With WP 5.8 block editor was introduced to widget page. This is currently not supported by Enfold.
 * Based on https://wordpress.org/plugins/classic-widgets/ we disable this feature.
 *
 * If you want to use the new widget page and use a child theme add in functions.php of the child theme:
 *
 *		$avia_config['use_block_widget_page'] = true;
 *
 * @since 4.8.4.1
 */
if( ! isset( $avia_config['use_block_widget_page'] ) || $avia_config['use_block_widget_page'] !== true )
{
	// Disables the block editor from managing widgets in the Gutenberg plugin.
	add_filter( 'gutenberg_use_widgets_block_editor', '__return_false' );

	// Disables the block editor from managing widgets.
	add_filter( 'use_widgets_block_editor', '__return_false' );
}