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

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