WP_Customize_Setting::json(): array

In this article

Retrieves the data to export to the client via JSON.

Return

array Array of parameters passed to JavaScript.

Source

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

Changelog

VersionDescription
4.6.0Introduced.

User Contributed Notes

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