WP_Customize_Control::json(): array In this article Table of ContentsReturn Source Related Changelog Copy page View as Markdown Back to top Gets the data to export to the client via JSON. Return array Array of parameters passed to the JavaScript. Source public function json() { $this->to_json(); return $this->json; } View all references View on Trac View on GitHub Related UsesDescriptionWP_Customize_Control::to_json()wp-includes/class-wp-customize-control.phpRefreshes the parameters passed to the JavaScript via JSON. Used byDescriptionWP_Customize_Code_Editor_Control::json()wp-includes/customize/class-wp-customize-code-editor-control.phpRefresh the parameters passed to the JavaScript via JSON. WP_Customize_Date_Time_Control::json()wp-includes/customize/class-wp-customize-date-time-control.phpExport data to JS. WP_Customize_Nav_Menu_Item_Control::json()wp-includes/customize/class-wp-customize-nav-menu-item-control.phpReturn parameters for this control. WP_Customize_Nav_Menu_Control::json()wp-includes/customize/class-wp-customize-nav-menu-control.phpReturn parameters for this control. Changelog VersionDescription4.1.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.