W3cubDocs

/WordPress

WP_Customize_Selective_Refresh::remove_partial( string $id )

Removes a partial.

Parameters

$idstringrequired
Customize Partial ID.

Source

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

Changelog

Version Description
4.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_selective_refresh/remove_partial