W3cubDocs

/WordPress

apply_filters( 'wp_default_editor', string $r )

Filters which editor should be displayed by default.

Parameters

$r

(string) Which editor should be displayed by default. Either 'tinymce', 'html', or 'test'.

Source

File: wp-includes/general-template.php

View on Trac

Changelog

Version Description
2.5.0 Introduced.

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