WordPress.org

Support

Support » Plugins and Hacks » Moderator Role » [Resolved] Super Admin have Moderator dashboard

[Resolved] 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 ‘[Resolved] Super Admin have Moderator dashboard’ is closed to new replies.
Skip to toolbar