WP_Customize_Selective_Refresh::remove_partial()
Removes a partial.
{} It's a method of the class: WP_Customize_Selective_Refresh{}
No Hooks.
Return
null
. Nothing.
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. |
Code of WP_Customize_Selective_Refresh::remove_partial() WP Customize Selective Refresh::remove partial WP 6.0
public function remove_partial( $id ) { unset( $this->partials[ $id ] ); }