user_can_richedit WordPress Filter Hook
This hook allows you to specify whether a user can access the rich text editor. This is useful for sites that want to disable the rich text editor for certain users.
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
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |