Uses
Uses | Description |
---|---|
wp-includes/class-wp-customize-widgets.php: WP_Customize_Widgets::get_selective_refreshable_widgets() | List whether each registered widget can be use selective refresh. |
Determines if a widget supports selective refresh.
(string) (Required) Widget ID Base.
(bool) Whether the widget can be selective refreshed.
File: wp-includes/class-wp-customize-widgets.php
public function is_widget_selective_refreshable( $id_base ) { $selective_refreshable_widgets = $this->get_selective_refreshable_widgets(); return ! empty( $selective_refreshable_widgets[ $id_base ] ); }
Version | Description |
---|---|
4.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_widgets/is_widget_selective_refreshable