WP_Customize_Selective_Refresh::remove_partial()publicWP 4.5.0

Removes a partial.

Method of the class: WP_Customize_Selective_Refresh{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Customize_Selective_Refresh = new WP_Customize_Selective_Refresh();
$WP_Customize_Selective_Refresh->remove_partial( $id );
$id(string) (required)
Customize Partial ID.

Changelog

Since 4.5.0 Introduced.

WP_Customize_Selective_Refresh::remove_partial() code WP 6.6.2

public function remove_partial( $id ) {
	unset( $this->partials[ $id ] );
}