WP_Customize_Code_Editor_Control::json(): array

Refresh the parameters passed to the JavaScript via JSON.


Description

Top ↑

See also


Top ↑

Return

array Array of parameters passed to the JavaScript.


Top ↑

Source

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

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


Top ↑

Changelog

Changelog
Version Description
4.9.0 Introduced.

Top ↑

User Contributed Notes

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