GC_Customize_Color_Control::__construct()
最后更新于:2021-11-26 23:19:41
GC_Customize_Color_Control::__construct( GC_Customize_Manager$manager, string$id, array$args=array())Constructor.
参数
- $manager
-
(GC_Customize_Manager) (Required) Customizer bootstrap instance.
- $id
-
(string) (Required) Control ID.
- $args
-
(array) (Optional) Arguments to override class property defaults. See GC_Customize_Control::__construct() for information on accepted arguments.
Default value: array()
源文件
文件: gc-includes/customize/class-gc-customize-color-control.php
public function __construct( $manager, $id, $args = array() ) {
$this->statuses = array( '' => __( 'Default' ) );
parent::__construct( $manager, $id, $args );
}