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.
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 ),
)
);
Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |