Gets the data to export to the client via JSON.
Source
public function json() {
$this->to_json();
return $this->json;
}
Changelog
Version | Description |
---|---|
4.1.0 | Introduced. |
CARVIEW |
Gets the data to export to the client via JSON.
public function json() {
$this->to_json();
return $this->json;
}
Uses | Description |
---|---|
WP_Customize_Control::to_json()wp-includes/class-wp-customize-control.php | Refreshes the parameters passed to the JavaScript via JSON. |
Used by | Description |
---|---|
WP_Customize_Code_Editor_Control::json()wp-includes/customize/class-wp-customize-code-editor-control.php | Refresh the parameters passed to the JavaScript via JSON. |
WP_Customize_Date_Time_Control::json()wp-includes/customize/class-wp-customize-date-time-control.php | Export data to JS. |
WP_Customize_Nav_Menu_Item_Control::json()wp-includes/customize/class-wp-customize-nav-menu-item-control.php | Return parameters for this control. |
WP_Customize_Nav_Menu_Control::json()wp-includes/customize/class-wp-customize-nav-menu-control.php | Return parameters for this control. |
Version | Description |
---|---|
4.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.