apply_filters( 'wp_default_editor', string $r )

Filters which editor should be displayed by default.


Parameters

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

Top ↑

Source

File: wp-includes/general-template.php. View all references

return apply_filters( 'wp_default_editor', $r );


Top ↑

Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.