Title: WP_Customize_Manager::register_control_type
Published: December 18, 2014
Last modified: August 20, 2026

---

# WP_Customize_Manager::register_control_type( string $control )

## In this article

 * [Description](https://developer.wordpress.org/reference/classes/wp_customize_manager/register_control_type/?output_format=md#description)
 * [Parameters](https://developer.wordpress.org/reference/classes/wp_customize_manager/register_control_type/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/classes/wp_customize_manager/register_control_type/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/classes/wp_customize_manager/register_control_type/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/classes/wp_customize_manager/register_control_type/?output_format=md#changelog)
 * [User Contributed Notes](https://developer.wordpress.org/reference/classes/wp_customize_manager/register_control_type/?output_format=md#user-contributed-notes)

Registers a customize control type.

## 󠀁[Description](https://developer.wordpress.org/reference/classes/wp_customize_manager/register_control_type/?output_format=md#description)󠁿

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

## 󠀁[Parameters](https://developer.wordpress.org/reference/classes/wp_customize_manager/register_control_type/?output_format=md#parameters)󠁿

 `$control`stringrequired

Name of a custom control which is a subclass of [WP_Customize_Control](https://developer.wordpress.org/reference/classes/wp_customize_control/).

## 󠀁[Source](https://developer.wordpress.org/reference/classes/wp_customize_manager/register_control_type/?output_format=md#source)󠁿

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

[View all references](https://developer.wordpress.org/reference/files/wp-includes/class-wp-customize-manager.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-includes/class-wp-customize-manager.php#L4130)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-customize-manager.php#L4130-L4132)

## 󠀁[Related](https://developer.wordpress.org/reference/classes/wp_customize_manager/register_control_type/?output_format=md#related)󠁿

| Used by | Description | 
| [WP_Customize_Manager::wp_loaded()](https://developer.wordpress.org/reference/classes/wp_customize_manager/wp_loaded/)`wp-includes/class-wp-customize-manager.php` |

Registers styles/scripts and initialize the preview of each setting

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/wp_customize_manager/register_control_type/?output_format=md#changelog)󠁿

| Version | Description | 
| [4.1.0](https://developer.wordpress.org/reference/since/4.1.0/) | Introduced. |

## 󠀁[User Contributed Notes](https://developer.wordpress.org/reference/classes/wp_customize_manager/register_control_type/?output_format=md#user-contributed-notes)󠁿

 1.  [Skip to note 2 content](https://developer.wordpress.org/reference/classes/wp_customize_manager/register_control_type/?output_format=md#comment-content-2289)
 2.   [Nick Halsey](https://profiles.wordpress.org/celloexpressions/)  [  9 years ago  ](https://developer.wordpress.org/reference/classes/wp_customize_manager/register_control_type/#comment-2289)
 3. [You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_customize_manager%2Fregister_control_type%2F%23comment-2289)
    Vote results for this note: 2[You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_customize_manager%2Fregister_control_type%2F%23comment-2289)
 4. For context and additional information on registered control types, see [https://make.wordpress.org/core/2014/11/17/jsunderscore-template-rendered-custom-customizer-controls-in-wordpress-4-1/](https://make.wordpress.org/core/2014/11/17/jsunderscore-template-rendered-custom-customizer-controls-in-wordpress-4-1/).
 5.  [Log in to add feedback](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_customize_manager%2Fregister_control_type%2F%3Freplytocom%3D2289%23feedback-editor-2289)

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_customize_manager%2Fregister_control_type%2F)
before being able to contribute a note or feedback.