WordPress.org

Support

Support » Multisite » [Resolved] getting list of users in all sites

[Resolved] 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:

    https://gist.github.com/2650171

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

    Why might there be a discrepancy?

    Thanks.

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

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