do_action( 'wp_enqueue_editor', array $to_load )

Fires when scripts and styles are enqueued for the editor.


Parameters

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

Top ↑

Source

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

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


Top ↑

Changelog

Changelog
Version Description
3.9.0 Introduced.

Top ↑

User Contributed Notes

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