WP_Customize_Themes_Section::json()publicWP 4.9.0

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() code WP 6.4.1

public function json() {
	$exported                = parent::json();
	$exported['action']      = $this->action;
	$exported['filter_type'] = $this->filter_type;

	return $exported;
}