[wp-trac] [WordPress Trac] #44976: Proposal to add deregister_control_type() method to WP_Customize_Manager
WordPress Trac
noreply at wordpress.org
Fri Sep 21 08:19:15 UTC 2018
#44976: Proposal to add deregister_control_type() method to WP_Customize_Manager
-------------------------------------------------+-------------------------
Reporter: Collizo4sky | Owner: (none)
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting
| Review
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion reporter- | Focuses:
feedback |
-------------------------------------------------+-------------------------
Changes (by mukesh27):
* keywords: has-patch => has-patch 2nd-opinion reporter-feedback
* severity: major => normal
Comment:
@Collizo4sky, remove_control already remove the control for customizer so
why we need other function for same functionality?
{{{#!php
<?php
public function remove_control( $id ) {
unset( $this->controls[ $id ] );
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44976#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list