Filters whether the user can access the visual editor.
$wp_rich_editbool
return apply_filters( 'user_can_richedit', $wp_rich_edit );
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/user_can_richedit