Uses
Uses | Description |
---|---|
wp-includes/class-wp-editor.php: _WP_Editors::enqueue_default_editor() | Enqueue all editor scripts. |
Outputs the editor scripts, stylesheets, and default settings.
The editor can be initialized when needed after page load. See wp.editor.initialize() in wp-admin/js/editor.js for initialization options.
File: wp-includes/general-template.php
function wp_enqueue_editor() { if ( ! class_exists( '_WP_Editors', false ) ) { require ABSPATH . WPINC . '/class-wp-editor.php'; } _WP_Editors::enqueue_default_editor(); }
Version | Description |
---|---|
4.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_enqueue_editor