WordPress.org

Ready to get started?Download WordPress

Forums

How to find the user role? (1 post)

  1. bsullins
    Member
    Posted 6 years ago #

    Greetings WPeeps...

    I am wondering if anyone has figured out how to query the WP database and retrieve all users and their roles. I'm building a plugin that will email all members of a certain role when a specific event occurs. Any help is apprciated!

    Thanks,
    Ben

Topic Closed

This topic has been closed to new replies.

About this Topic