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.


Top ↑

Source

File: wp-includes/class-wp-editor.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.