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.
Contents
Parameters
- $id
(string)(Required)Customize Partial ID.
Source
File: wp-includes/customize/class-wp-customize-selective-refresh.php
public function remove_partial( $id ) { unset( $this->partials[ $id ] ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |