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. ]