Improve hook docs for the `wp_enqueue_editor` hook, added in 3.9.

See #16284, #27700.

Built from https://develop.svn.wordpress.org/trunk@28026


git-svn-id: http://core.svn.wordpress.org/trunk@27856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2014-04-07 23:09:15 +00:00
parent 56c1deba7c
commit 697bef3383
1 changed files with 7 additions and 3 deletions

View File

@ -735,13 +735,17 @@ final class _WP_Editors {
}
/**
* Fires when scripts and styles are enqueued for the editor
* Fires when scripts and styles are enqueued for the editor.
*
* @since 3.9.0
*
* @param array An array containing boolean values whether TinyMCE and Quicktags are being loaded.
* @param array $to_load An array containing boolean values whether TinyMCE
* and Quicktags are being loaded.
*/
do_action( 'wp_enqueue_editor', array( 'tinymce' => self::$has_tinymce, 'quicktags' => self::$has_quicktags ) );
do_action( 'wp_enqueue_editor', array(
'tinymce' => self::$has_tinymce,
'quicktags' => self::$has_quicktags,
) );
}
public static function wp_mce_translation() {