WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] getting list of users in all sites (1 post)

  1. Bill Dennen
    Member
    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.