GC_Customize_Code_Editor_Control::json()
最后更新于:2021-11-26 23:17:44
GC_Customize_Code_Editor_Control::json()Refresh the parameters passed to the JavaScript via JSON.
响应
(array) Array of parameters passed to the JavaScript.
源文件
文件: gc-includes/customize/class-gc-customize-code-editor-control.php
public function json() {
$json = parent::json();
$json['editor_settings'] = $this->editor_settings;
$json['input_attrs'] = $this->input_attrs;
return $json;
}