WP_Customize_Themes_Section::json
Gets section parameters for JS.
Method of the class: WP_Customize_Themes_Section{}
No Hooks.
Returns
Array. Exported parameters.
Usage
$WP_Customize_Themes_Section = new WP_Customize_Themes_Section(); $WP_Customize_Themes_Section->json();
Changelog
| Since 4.9.0 | Introduced. |
WP_Customize_Themes_Section::json() WP Customize Themes Section::json code WP 7.0
public function json() {
$exported = parent::json();
$exported['action'] = $this->action;
$exported['filter_type'] = $this->filter_type;
return $exported;
}