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
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_default_editor