GC_Customize_Sidebar_Section::json()

最后更新于:2021-11-27 08:53:04

GC_Customize_Sidebar_Section::json()

Gather the parameters passed to client JavaScript via JSON.

响应

(array) The array to be exported to the client as JSON.

源文件

文件: gc-includes/customize/class-gc-customize-sidebar-section.php

	public function json() {
		$json              = parent::json();
		$json['sidebarId'] = $this->sidebar_id;
		return $json;
	}