GC_Customize_Header_Image_Control::__construct()
最后更新于:2021-11-27 00:24:44
GC_Customize_Header_Image_Control::__construct( GC_Customize_Manager$manager)Constructor.
参数
- $manager
-
(GC_Customize_Manager) (Required) Customizer bootstrap instance.
源文件
文件: gc-includes/customize/class-gc-customize-header-image-control.php
public function __construct( $manager ) {
parent::__construct(
$manager,
'header_image',
array(
'label' => __( 'Header Image' ),
'settings' => array(
'default' => 'header_image',
'data' => 'header_image_data',
),
'section' => 'header_image',
'removed' => 'remove-header',
'get_url' => 'get_header_image',
)
);
}