GC_Customize_Setting::json()

最后更新于:2021-11-27 08:40:23

GC_Customize_Setting::json()

Retrieves the data to export to the client via JSON.

响应

(array) Array of parameters passed to JavaScript.

源文件

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

	public function json() {
		return array(
			'value'     => $this->js_value(),
			'transport' => $this->transport,
			'dirty'     => $this->dirty,
			'type'      => $this->type,
		);
	}