Support » Plugin: Moderator Role » Super Admin have Moderator dashboard

Viewing 1 replies (of 1 total)
  • You cannot trust current_user_can( 'moderator' ), better change it to in_array( 'moderator', (array) wp_get_current_user()->roles )

    Works for me

Viewing 1 replies (of 1 total)
  • The topic ‘Super Admin have Moderator dashboard’ is closed to new replies.