the_editor filter-hook . WP 2.1.0
Filters the HTML markup output that displays the editor.
Usage
add_filter( 'the_editor', 'filter_function_name_2699' ); function filter_function_name_2699( $output ){ // filter... return $output; }
- $output(string)
- Editor's HTML markup.
Changelog
Since 2.1.0 | Introduced. |
Where the hook is called
wp-includes/class-wp-editor.php 262-268
$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>' );