WP_Customize_Manager::register_control_type( string $control )

Registers a customize control type.

Description

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

Parameters

$controlstringrequired
Name of a custom control which is a subclass of WP_Customize_Control.

Source

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

Changelog

VersionDescription
4.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.