Disable support for widgets block editor, regen lang

This commit is contained in:
Alexander Agnarson 2021-07-23 18:44:01 +02:00
parent 54690d42cc
commit 16923a8ad6
2 changed files with 24 additions and 21 deletions

View file

@ -72,6 +72,9 @@ if ( ! function_exists( 'airl_setup' ) ) {
// Declare WooCommerce support
add_theme_support( 'woocommerce' );
// Disable support for widgets block editor
remove_theme_support( 'widgets-block-editor' );
// Enable support for selective refresh of widgets in customizer
add_theme_support( 'customize-selective-refresh-widgets' );