do_action( 'wp_enqueue_editor', array $to_load )
- Since
- 3.9.0
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.
Fired at · 1
wp-includes/class-wp-editor.php:893_WP_Editors::enqueue_scripts()
Source
* * @since 3.9.0 * * @param array $to_load An array containing boolean values whether TinyMCE * and Quicktags are being loaded. */ do_action( 'wp_enqueue_editor', array( 'tinymce' => ( $default_scripts || self::$has_tinymce ), 'quicktags' => ( $default_scripts || self::$has_quicktags ), ) );History
Introduced in 3.9.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.