the_editor()WP 2.1.0

Deprecated from version 3.3.0. It is no longer supported and can be removed in future releases. Use wp_editor() instead.

Displays an editor: TinyMCE, HTML, or both.

No Hooks.

Return

null. Nothing (null).

Usage

the_editor( $content, $id, $prev_id, $media_buttons, $tab_index, $extended );
$content(string) (required)
Textarea content.
$id(string)
HTML ID attribute value.
Default: 'content'
$prev_id(string)
Unused.
Default: 'title'
$media_buttons(true|false)
Whether to display media buttons.
Default: true
$tab_index(int)
Unused.
Default: 2
$extended(true|false)
Unused.
Default: true

Notes

Changelog

Since 2.1.0 Introduced.
Deprecated since 3.3.0 Use wp_editor()

the_editor() code WP 6.4.3

function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true, $tab_index = 2, $extended = true) {
	_deprecated_function( __FUNCTION__, '3.3.0', 'wp_editor()' );

	wp_editor( $content, $id, array( 'media_buttons' => $media_buttons ) );
}