WP_Customize_Widgets::is_widget_selective_refreshable( string $id_base )

Determines if a widget supports selective refresh.


Description Description


Parameters Parameters

$id_base

(string) (Required) Widget ID Base.


Top ↑

Return Return

(bool) Whether the widget can be selective refreshed.


Top ↑

Source Source

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 ] );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.