_WP_Editors::editor

SummerySummery

Outputs the HTML for a single instance of the editor.

Syntax

_WP_Editors::editor( string $content, string $editor_id, array $settings = array() )

ParametersParameters

$content

(string) (Required) Initial content for the editor.

$editor_id

(string) (Required) HTML ID for the textarea and TinyMCE and Quicktags instances. Should not contain square brackets.

$settings

(array) (Optional) See _WP_Editors::parse_settings() for description.

Default value: array()

SourceSource

File: wp-includes/class-wp-editor.php


			

ChangelogChangelog

Changelog
Version Description
3.3.0 Introduced.
Scroll to Top