Title: Filter Directory
Last modified: April 14, 2018

---

# Filter Directory

 *  [knowitallninja](https://wordpress.org/support/users/knowitallninja/)
 * (@knowitallninja)
 * [8 years ago](https://wordpress.org/support/topic/filter-directory/)
 * I am using memberpress along with buddypress to allow users registered to my 
   site to access premium content.
 * In the “Invite Anyone” section of group creation, I would like to limit users
   to only be able to invite people to their group if they’re part of the same parent
   membership account.
 * I can figure out the bit about querying to find if they’re part of the same membership
   account, however is there a hook I can use with Invite Anyone which will allow
   me to limit the directory box from showing people outside the list of user ids
   I provide?

The topic ‘Filter Directory’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/invite-anyone.svg)
 * [Invite Anyone](https://wordpress.org/plugins/invite-anyone/)
 * [Support Threads](https://wordpress.org/support/plugin/invite-anyone/)
 * [Active Topics](https://wordpress.org/support/plugin/invite-anyone/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/invite-anyone/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/invite-anyone/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [knowitallninja](https://wordpress.org/support/users/knowitallninja/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/filter-directory/)
 * Status: not resolved