Ticket #44976: class-wp-customize-manager.2.diff
File class-wp-customize-manager.2.diff, 669 bytes (added by , 6 years ago) |
---|
-
wp-includes/class-wp-customize-manager.php
4009 4009 } 4010 4010 4011 4011 /** 4012 * Deregister a customize control type. 4013 * 4014 * @param string $control Name of a custom control which is a subclass of 4015 * WP_Customize_Control. 4016 */ 4017 public function deregister_control_type( $control ) { 4018 unset( $this->registered_control_types[$control] ); 4019 } 4020 4021 /** 4012 4022 * Render JS templates for all registered control types. 4013 4023 * 4014 4024 * @since 4.1.0