On this page
apply_filters( 'the_editor_content', string $content, string $default_editor )
Filters the default editor content.
Parameters
$contentstring-
Default editor content.
$default_editorstring-
The default editor for the current user.
Either'html'or'tinymce'.
Source
File: wp-includes/class-wp-editor.php. View all references
$content = apply_filters( 'the_editor_content', $content, $default_editor );
Related
Used By
| Used By | Description |
|---|---|
| WP_Widget_Text::form() wp-includes/widgets/class-wp-widget-text.php | Outputs the Text widget settings form. |
| _WP_Editors::editor() wp-includes/class-wp-editor.php | Outputs the HTML for a single instance of the editor. |
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_editor_content