the_editor WordPress Filter Hook

The the_editor hook is used to filter the content of the editor before it is displayed on the screen. This hook can be used to add custom content to the editor, or to modify the default content.

apply_filters( 'the_editor', string $output ) #

Filters the HTML markup output that displays the editor.


Parameters

$output

(string)Editor's HTML markup.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.