WP_Customize_Sidebar_Section::json()

Gather the parameters passed to client JavaScript via JSON.


Description Description


Return Return

(array) The array to be exported to the client as JSON.


Top ↑

Source Source

File: wp-includes/customize/class-wp-customize-sidebar-section.php

	public function json() {
		$json              = parent::json();
		$json['sidebarId'] = $this->sidebar_id;
		return $json;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.1.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.