GC_Customize_Site_Icon_Control::__construct()
最后更新于:2021-11-27 09:00:06
GC_Customize_Site_Icon_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-site-icon-control.php
public function __construct( $manager, $id, $args = array() ) {
parent::__construct( $manager, $id, $args );
add_action( 'customize_controls_print_styles', 'gc_site_icon', 99 );
}