WPDev.one

wp_editor()

wp_editor( mixed $content, mixed $editor_id, mixed $settings = array() )

Renders an editor.

Parameters 2 required

Name / Type Description
$content
string

Initial content for the editor.

Required
string

$editor_id HTML ID attribute value for the textarea and TinyMCE. Should not contain square brackets.

Required
$settings
array

See _WP_Editors::parse_settings() for description.

Return Value

(void)
No return value description available.

Function Information

Since Version
3.3.0
Source File
wp-includes/general-template.php
Advertisement