Function: user_can_richedit

user_can_richedit( )

Whether the user can access the visual editor.

Checks if the user can access the visual editor and that it's supported by the user's browser.

Returns

boolean

True if the user can access the visual editor, false otherwise.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.