WP_Customize_Themes_Section::json()
Gets section parameters for JS.
Method of the class: WP_Customize_Themes_Section{}
No Hooks.
Return
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 6.5.2
public function json() { $exported = parent::json(); $exported['action'] = $this->action; $exported['filter_type'] = $this->filter_type; return $exported; }