WordPress at a glance
function is not described

WP_Customize_Manager::register_control_type() public WP 4.1.0

Register a customize control type.

Registered types are eligible to be rendered via JS and created dynamically.

{} It's a method of the class: WP_Customize_Manager{}

No Hooks.


null. Nothing.


$WP_Customize_Manager = new WP_Customize_Manager();
$WP_Customize_Manager->register_control_type( $control );
$control(string) (required)
Name of a custom control which is a subclass of WP_Customize_Control.


Since 4.1.0 Introduced.

Code of WP_Customize_Manager::register_control_type() WP 5.7.2

public function register_control_type( $control ) {
	$this->registered_control_types[] = $control;