wp_enqueue_editor WordPress Action Hook
The wp_enqueue_editor hook is used to enqueue the WordPress editor scripts. This hook is used by plugins and themes to enqueue the WordPress editor scripts. By default, the WordPress editor scripts are not loaded on the front end.
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
Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |