apply_filters( ‘wp_default_editor’, string $r )

In this article

Filters which editor should be displayed by default.

Parameters

$rstring
Which editor should be displayed by default. Either 'tinymce', 'html', or 'test'.

Source

return apply_filters( 'wp_default_editor', $r );

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

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