On this page
do_action( 'wp_enqueue_editor', array $to_load )
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
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 ),
)
);
Related
Used By
| Used By | Description |
|---|---|
| _WP_Editors::enqueue_scripts() wp-includes/class-wp-editor.php |
Changelog
| Version | Description |
|---|---|
| 3.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_enqueue_editor