WP_Customize_Sidebar_Section::json

Advertisement

Summery Summery

Gather the parameters passed to client JavaScript via JSON.

Syntax Syntax

WP_Customize_Sidebar_Section::json()

Return Return

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

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;
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.1.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.