WP_Customize_Code_Editor_Control::json

Advertisement

Summery Summery

Refresh the parameters passed to the JavaScript via JSON.

Syntax Syntax

WP_Customize_Code_Editor_Control::json()

Return Return

(array) Array of parameters passed to the JavaScript.

Source Source

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

	 */
	public function json() {
		$json                    = parent::json();
		$json['editor_settings'] = $this->editor_settings;
		$json['input_attrs']     = $this->input_attrs;
		return $json;

Advertisement

Changelog Changelog

Changelog
Version Description
4.9.0 Introduced.

See also See also

Advertisement

Leave a Reply