wp_enqueue_editor

The timeline below displays how wordpress function wp_enqueue_editor has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 4.8

/**
 * 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.
 *
 * @uses _WP_Editors
 * @since 4.8.0
 */
function wp_enqueue_editor()
{
    if (!class_exists('_WP_Editors', false)) {
        require ABSPATH . WPINC . '/class-wp-editor.php';
    }
    _WP_Editors::enqueue_default_editor();
}