wp_default_editor

Advertisement

Summery Summery

Filters which editor should be displayed by default.

Syntax Syntax

apply_filters( 'wp_default_editor', string $r )

Parameters Parameters

$r

(string) Which editor should be displayed by default. Either 'tinymce', 'html', or 'test'.

Source Source

File: wp-includes/general-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.