wp_default_editor WordPress Filter Hook
The wp_default_editor hook allows you to set the default WordPress editor. This can be useful if you want to change the default editor for all users on your site.
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. |