A WordPress-centric search engine for devs and theme authors



wp_default_editor ›

Since2.5.0
Deprecatedn/a
apply_filters( 'wp_default_editor', $r )
Parameters:
  • (string) $r Which editor should be displayed by default. Either 'tinymce', 'html', or 'test'.
    Required: Yes
Defined at:
Codex:

Filters which editor should be displayed by default.





Source

return apply_filters( 'wp_default_editor', $r );