WP_Customize_Control::json

Advertisement

Summery Summery

Get the data to export to the client via JSON.

Syntax Syntax

WP_Customize_Control::json()

Return Return

(array) Array of parameters passed to the JavaScript.

Source Source

File: wp-includes/class-wp-customize-control.php

	public function json() {
		$this->to_json();
		return $this->json;
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.1.0 Introduced.

Advertisement

Leave a Reply