WP_Customize_Control::json()
Get the data to export to the client via JSON.
Return
(array) Array of parameters passed to the JavaScript.
Source
File: wp-includes/class-wp-customize-control.php
public function json() { $this->to_json(); return $this->json; }
Changelog
Version | Description |
---|---|
4.1.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_control/json