wphooks.info - wp_enqueue_editor

wp_enqueue_editor

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/class-wp-editor.php:
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
		}

		/**
		 * Fires when scripts and styles are enqueued for the editor.
		 *
		 * @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 ),
		) );
	}

	/**
	 * Enqueue all editor scripts.
	 * For use when the editor is going to be initialized after page load.
	 *