WordPress at a glance
function is not described

WP_Customize_Themes_Section::json() public WP 4.9.0

Get section parameters for JS.

{} It's a 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.

Code of WP_Customize_Themes_Section::json() WP 5.7.2

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

	return $exported;
}