Retrieves the data to export to the client via JSON.
(array) Array of parameters passed to the JavaScript.
File: wp-includes/customize/class-wp-customize-partial.php
public function json() { $exports = array( 'settings' => $this->settings, 'primarySetting' => $this->primary_setting, 'selector' => $this->selector, 'type' => $this->type, 'fallbackRefresh' => $this->fallback_refresh, 'containerInclusive' => $this->container_inclusive, ); return $exports; }
Version | Description |
---|---|
4.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_partial/json