Skip to main content
edited tags
Link
Chip Bennett
  • 55.1k
  • 8
  • 90
  • 170
Source Link
user11948
user11948

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.