GC_Customize_Manager::register_control_type()
最后更新于:2021-11-27 01:26:36
GC_Customize_Manager::register_control_type( string$control)Register a customize control type.
参数
- $control
-
(string) (Required) Name of a custom control which is a subclass of GC_Customize_Control.
源文件
文件: gc-includes/class-gc-customize-manager.php
public function register_control_type( $control ) {
$this->registered_control_types[] = $control;
}