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