WP_Customize_Code_Editor_Control::enqueue()

In this article

Enqueue control related scripts/styles.

Source

public function enqueue() {
	$this->editor_settings = wp_enqueue_code_editor(
		array_merge(
			array(
				'type'       => $this->code_type,
				'codemirror' => array(
					'indentUnit' => 2,
					'tabSize'    => 2,
				),
			),
			$this->editor_settings
		)
	);
}

Changelog

VersionDescription
4.9.0Introduced.

User Contributed Notes

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