WP_Customize_Selective_Refresh::remove_partial() WordPress Method

The remove_partial() method of the WP_Customize_Selective_Refresh class removes a registered partial.

WP_Customize_Selective_Refresh::remove_partial( string $id ) #

Removes a partial.


Parameters

$id

(string)(Required)Customize Partial ID.


Top ↑

Source

File: wp-includes/customize/class-wp-customize-selective-refresh.php

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

Top ↑

Changelog

Changelog
VersionDescription
4.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.