Core Function
View Source on Trac ↗ the_editor()
the_editor(
mixed $content,
mixed $id = 'content',
mixed $prev_id = 'title',
mixed $media_buttons = true,
mixed $tab_index = 2,
mixed $extended = true
) Displays an editor: TinyMCE, HTML, or both.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $content string | Textarea content. Required |
| $id string | Optional. HTML ID attribute value. Default 'content'. |
| $prev_id string | Optional. Unused. |
| $media_buttons bool | Optional. Whether to display media buttons. Default true. |
| $tab_index int | Optional. Unused. |
| $extended bool | Optional. Unused. |
Return Value
(void)
No return value description available.
Function Information
Since Version
2.1.0
Source File
wp-includes/deprecated.php
Advertisement