apply_filters( ‘the_editor_content’, string $content, string $default_editor )

In this article

Filters the default editor content.

Parameters

$contentstring
Default editor content.
$default_editorstring
The default editor for the current user.
Either 'html' or 'tinymce'.

Source

$content = apply_filters( 'the_editor_content', $content, $default_editor );

Changelog

VersionDescription
2.1.0Introduced.

User Contributed Notes

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