WP_Customize_Code_Editor_Control::json(): array

Refresh the parameters passed to the JavaScript via JSON.

Description

See also

Return

array Array of parameters passed to the JavaScript.

Source

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

Changelog

VersionDescription
4.9.0Introduced.

User Contributed Notes

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