Skip to main content
2 of 2
edited tags
Chip Bennett
  • 55.1k
  • 8
  • 90
  • 170

WordPress WP_User_Query($args) using Where and Like

I wish to return a WP user list in my plugin where the email address matches @mydomain.com. The user list I am after is for all mydomain.com users.

Does anyone have a code snipit for that?

Thanks.

user11948