Uses
Uses | Description |
---|---|
wp-includes/general-template.php: wp_editor() | Renders an editor. |
wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
This function has been deprecated. Use wp_editor() instead.
Displays an editor: TinyMCE, HTML, or both.
(string) (Required) Textarea content.
(string) (Optional) HTML ID attribute value.
Default value: 'content'
(string) (Optional) Unused.
Default value: 'title'
(bool) (Optional) Whether to display media buttons.
Default value: true
(int) (Optional) Unused.
Default value: 2
(bool) (Optional) Unused.
Default value: true
File: wp-includes/deprecated.php
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 ) ); }
Version | Description |
---|---|
3.3.0 | Use wp_editor() |
2.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_editor