On this page
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
File: wp-includes/general-template.php. View all references
return apply_filters( 'user_can_richedit', $wp_rich_edit );
Related
Used By
| Used By | Description |
|---|---|
| user_can_richedit() wp-includes/general-template.php | Determines whether the user can access the visual editor. |
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/user_can_richedit