How to get list of sites where user is admin? (1 post)

  1. wzshop
    Posted 4 years ago #

    Hi guys,

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

Topic Closed

This topic has been closed to new replies.

About this Topic