apply_filters( 'the_editor', string $output )
Filters the HTML markup output that displays the editor.
Parameters
-
$output
string -
Editor's HTML markup.
Source
File: wp-includes/class-wp-editor.php
.
View all references
$the_editor = apply_filters(
'the_editor',
'<div id="wp-' . $editor_id_attr . '-editor-container" class="wp-editor-container">' .
$quicktags_toolbar .
'<textarea' . $editor_class . $height . $tabindex . $autocomplete . ' cols="40" name="' . esc_attr( $set['textarea_name'] ) . '" ' .
'id="' . $editor_id_attr . '">%s</textarea></div>'
);
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
More information
The “the_editor()” allows you to call the TinyMCE editor in your plugin or theme/page.
Basic Usage
Filtered Content