forked from mirror/_s
Merge pull request #1049 from samikeijonen/issue/994
Add theme support for selective refresh for widgets: props @samikeijonen
This commit is contained in:
commit
69cdd5361c
|
@ -64,6 +64,9 @@ function _s_setup() {
|
||||||
'default-color' => 'ffffff',
|
'default-color' => 'ffffff',
|
||||||
'default-image' => '',
|
'default-image' => '',
|
||||||
) ) );
|
) ) );
|
||||||
|
|
||||||
|
// Add theme support for selective refresh for widgets.
|
||||||
|
add_theme_support( 'customize-selective-refresh-widgets' );
|
||||||
}
|
}
|
||||||
endif;
|
endif;
|
||||||
add_action( 'after_setup_theme', '_s_setup' );
|
add_action( 'after_setup_theme', '_s_setup' );
|
||||||
|
|
Reference in New Issue