How to get list of sites where user is admin?
I am using a WP multisite and want to list out the sites where the user has an admin role.
What code should i use for this?
I now use this code to get all the sites that the user is connected to:
$user_sites = get_blogs_of_user( $user_id );
[ Please do not bump, that’s not permitted here. ]
- The topic ‘How to get list of sites where user is admin?’ is closed to new replies.