apply_filters( ‘user_can_richedit’, bool $wp_rich_edit )

Filters whether the user can access the visual editor.

Parameters

$wp_rich_editbool
Whether the user can access the visual editor.

Source

return apply_filters( 'user_can_richedit', $wp_rich_edit );

Changelog

VersionDescription
2.1.0Introduced.

User Contributed Notes

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