Filters which editor should be displayed by default.
Parameters
$r
string- Which editor should be displayed by default. Either
'tinymce'
,'html'
, or'test'
.
Source
return apply_filters( 'wp_default_editor', $r );
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.