GC_Customize_Manager::register_panel_type()

最后更新于:2021-11-27 01:31:15

GC_Customize_Manager::register_panel_type( string$panel)

Register a customize panel type.

参数

$panel

(string) (Required) Name of a custom panel which is a subclass of GC_Customize_Panel.

源文件

文件: gc-includes/class-gc-customize-manager.php

	public function register_panel_type( $panel ) {
		$this->registered_panel_types[] = $panel;
	}