wp_default_editor

SummerySummery

Find out which editor should be displayed by default.

Syntax

wp_default_editor()

DescriptionDescription

Works out which of the two editors to display as the current editor for a user. The ‘html’ setting is for the "Text" editor tab.

ReturnReturn

(string) Either 'tinymce', or 'html', or 'test'

SourceSource

File: wp-includes/general-template.php


			

ChangelogChangelog

Changelog
Version Description
2.5.0 Introduced.
Scroll to Top