apply_filters( 'user_can_richedit', bool $wp_rich_edit )

Filters whether the user can access the visual editor.

Parameters

$wp_rich_edit

(bool) Whether the user can access the visual editor.

Source

File: wp-includes/general-template.php

View on Trac

Changelog

Version Description
2.1.0 Introduced.