How to enable user_can_rich_edit for guests?

Just add the can_richedit capability to the user you want to be able to use the editor.

You can use the Capability Manager to do it.

Update: to enable the rich editor on anonymous/guest users, add this to your funcitons.php or anywhere you like, just make sure it comes before the wp_editor() call.

add_filter('user_can_richedit', '__return_true');

Leave a Comment