WordPress at a glance
function is not described

WP_Customize_Color_Control::__construct() public WP 3.4.0

Constructor.

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

No Hooks.

Return

null. Nothing.

Usage

$WP_Customize_Color_Control = new WP_Customize_Color_Control();
$WP_Customize_Color_Control->__construct( $manager, $id, $args );
$manager(WP_Customize_Manager) (required)
Customizer bootstrap instance.
$id(string) (required)
Control ID.
$args(array)
Arguments to override class property defaults. See WP_Customize_Control::__construct()() for information on accepted arguments.
Default: empty array

Notes

  • See: WP_Customize_Control::__construct()

Changelog

Since 3.4.0 Introduced.

Code of WP_Customize_Color_Control::__construct() WP 5.7.2

<?php
public function __construct( $manager, $id, $args = array() ) {
	$this->statuses = array( '' => __( 'Default' ) );
	parent::__construct( $manager, $id, $args );
}