WP_Customize_Sidebar_Section::json(): array

In this article

Gather the parameters passed to client JavaScript via JSON.

Return

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

Source

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

Changelog

VersionDescription
4.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.