Support » Networking WordPress » getting list of users in all sites

  • I’m trying to loop through my blogs and get a list of users. I’m using switch_to_blog() and get_blog_list() and wp_list_authors().

    But, on some sites, no authors/editors are showing, even though there are some.

    My code is here:

    If I add wp_dropdown_users() in there, instead, I get all the users.

    Why might there be a discrepancy?


    update I think it was hide_empty=0. Seems okay now?

  • The topic ‘getting list of users in all sites’ is closed to new replies.