Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_enqueue_editor ›

Da4.8.0
Deprecaton/a
wp_enqueue_editor ( Nessun parametro )
Usi:
  • _WP_Editors
Definito a:
Codex:

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.



Sorgenti

function wp_enqueue_editor() {
	if ( ! class_exists( '_WP_Editors', false ) ) {
		require( ABSPATH . WPINC . '/class-wp-editor.php' );
	}

	_WP_Editors::enqueue_default_editor();
}