matthijs166
11/21/2017 - 1:22 PM

Check if wp admin

check is user role is admin

user_can( $user__id, 'administrator' );