Allow administrators to view profiles, when members cannot

If you have disabled the 'Allow members to view profiles' setting but you still want site administrators to be able to view profiles, then add this code to an mu-plugin or your theme's functions.php:

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.