GC_Customize_Manager::get_section()
最后更新于:2021-11-27 00:59:18
GC_Customize_Manager::get_section( string$id)Retrieve a customize section.
参数
- $id
-
(string) (Required) Section ID.
响应
(GC_Customize_Section|void) The section, if set.
源文件
文件: gc-includes/class-gc-customize-manager.php
public function get_section( $id ) {
if ( isset( $this->sections[ $id ] ) ) {
return $this->sections[ $id ];
}
}