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-image' => '',
|
||||
) ) );
|
||||
|
||||
// Add theme support for selective refresh for widgets.
|
||||
add_theme_support( 'customize-selective-refresh-widgets' );
|
||||
}
|
||||
endif;
|
||||
add_action( 'after_setup_theme', '_s_setup' );
|
||||
|
|
Reference in New Issue