You can ask for roles with current_user_can()
too:
current_user_can( 'administrator' )
or
current_user_can( 'editor' )
There is no built-in role moderator
.
You can ask for roles with current_user_can()
too:
current_user_can( 'administrator' )
or
current_user_can( 'editor' )
There is no built-in role moderator
.