GC_Customize_Manager::get_panel()

最后更新于:2021-11-27 00:58:24

GC_Customize_Manager::get_panel( string$id)

Retrieve a customize panel.

参数

$id

(string) (Required) Panel ID to get.

响应

(GC_Customize_Panel|void) Requested panel instance, if set.

源文件

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

	public function get_panel( $id ) {
		if ( isset( $this->panels[ $id ] ) ) {
			return $this->panels[ $id ];
		}
	}