WordPress.org

Make WordPress Core

Ticket #44976: class-wp-customize-manager.2.diff

File class-wp-customize-manager.2.diff, 669 bytes (added by Collizo4sky, 22 months ago)
  • wp-includes/class-wp-customize-manager.php

     
    40094009        }
    40104010
    40114011        /**
     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        /**
    40124022         * Render JS templates for all registered control types.
    40134023         *
    40144024         * @since 4.1.0