W3cubDocs

/WordPress

apply_filters( 'the_editor_content', string $content, string $default_editor )

Filters the default editor content.

Parameters

$content

(string) Default editor content.

$default_editor

(string) The default editor for the current user. Either 'html' or 'tinymce'.

Source

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

View on Trac

Changelog

Version Description
2.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_editor_content