WP_Customize_Themes_Section::json()
Get section parameters for JS.
Return
(array) Exported parameters.
Source
File: wp-includes/customize/class-wp-customize-themes-section.php
public function json() {
$exported = parent::json();
$exported['action'] = $this->action;
$exported['filter_type'] = $this->filter_type;
return $exported;
} Changelog
| Version | Description |
|---|---|
| 4.9.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_themes_section/json