apply_filters( ‘the_editor’, string $output )

Filters the HTML markup output that displays the editor.

Parameters

$outputstring
Editor’s HTML markup.

Source

$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

VersionDescription
2.1.0Introduced.

User Contributed Notes

  1. Skip to note 2 content

    More information
    The “the_editor() ” allows you to call the TinyMCE editor in your plugin or theme/page.

    Basic Usage

    the_editor( $content, $id, $prev_id, $media_buttons, $tab_index );

    Filtered Content

    $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>'
    );

You must log in before being able to contribute a note or feedback.