A WordPress-centric search engine for devs and theme authors



wp_editor ›

Since3.3.0
Deprecatedn/a
wp_editor ( $content, $editor_id, $settings = array() )
Parameters: (3)
  • (string) $content Initial content for the editor.
    Required: Yes
  • (string) $editor_id HTML ID attribute value for the textarea and TinyMCE. Can only be /[a-z]+/.
    Required: Yes
  • (array) $settings See _WP_Editors::editor().
    Required: No
    Default: array()
See:
  • _WP_Editors::editor()
Defined at:
Codex:


Source

function wp_editor( $content, $editor_id, $settings = array() ) {
	if ( ! class_exists( '_WP_Editors', false ) ) {
		require( ABSPATH . WPINC . '/class-wp-editor.php' );
	}
	_WP_Editors::editor( $content, $editor_id, $settings );
}