WP_Customize_Color_Control::__construct()
Constructor.
Method of the class: WP_Customize_Color_Control{}
No Hooks.
Return
null
. Nothing (null).
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
Changelog
Since 3.4.0 | Introduced. |
WP_Customize_Color_Control::__construct() WP Customize Color Control:: construct code WP 6.6.2
public function __construct( $manager, $id, $args = array() ) { $this->statuses = array( '' => __( 'Default' ) ); parent::__construct( $manager, $id, $args ); }