do_action( ‘wp_enqueue_editor’, array $to_load )

In this article

Fires when scripts and styles are enqueued for the editor.

Parameters

$to_loadarray
An array containing boolean values whether TinyMCE and Quicktags are being loaded.

Source

do_action(
	'wp_enqueue_editor',
	array(
		'tinymce'   => ( $default_scripts || self::$has_tinymce ),
		'quicktags' => ( $default_scripts || self::$has_quicktags ),
	)
);

Changelog

VersionDescription
3.9.0Introduced.

User Contributed Notes

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