# Add Wordpress users to groups automatically?

**URL:** https://meta.discourse.org/t/add-wordpress-users-to-groups-automatically/62460
**Category:** WordPress
**Created:** [May 10, 2017, 8:31pm UTC](https://meta.discourse.org/t/add-wordpress-users-to-groups-automatically/62460 "2017-05-10T20:31:32Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sunnyt7](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sunnyt7/32/71920_2.png) [@sunnyt7](https://meta.discourse.org/u/sunnyt7)
#### Post date: [May 10, 2017, 8:31pm UTC](https://meta.discourse.org/t/add-wordpress-users-to-groups-automatically/62460/1 "2017-05-10T20:31:32Z")

</div>

Hi,

I run a membership site on Wordpress, and would like for certain member levels to automatically get added to groups on Discourse.

Is there any way to accomplish this (I’m using Paid Memberships Pro)?

If it helps, I can also set the Wordpress User Role to automatically emulate the membership level, which would disaggregate the functionality from specific membership plugins. Effectively, I would just want people to automatically get added to groups based on the Wordpress User Role.

Any ideas?

Thanks!

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [May 10, 2017, 9:18pm UTC](https://meta.discourse.org/t/add-wordpress-users-to-groups-automatically/62460/2 "2017-05-10T21:18:06Z")

</div>

I believe that what you need to do is to have Paid Memberships Pro use API calls to maintain the user lists on Discourse. I did it once for MemberMouse (I think that was the one).

---

<div class="post-metadata">

### Author: ![sunnyt7](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sunnyt7/32/71920_2.png) [@sunnyt7](https://meta.discourse.org/u/sunnyt7)
#### Post date: [May 10, 2017, 9:34pm UTC](https://meta.discourse.org/t/add-wordpress-users-to-groups-automatically/62460/3 "2017-05-10T21:34:36Z")

</div>

Ah, gotcha. Did you do this yourself, or did you hire someone to help you with it?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [May 10, 2017, 9:34pm UTC](https://meta.discourse.org/t/add-wordpress-users-to-groups-automatically/62460/4 "2017-05-10T21:34:58Z")

</div>

Someone hired me to help them with it. 🙂

---

<div class="post-metadata">

### Author: ![anon29908737](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@anon29908737](https://meta.discourse.org/u/anon29908737)
#### Post date: [May 11, 2017, 3:43pm UTC](https://meta.discourse.org/t/add-wordpress-users-to-groups-automatically/62460/5 "2017-05-11T15:43:44Z")

</div>

I’m doing the same thing but with wishlist member. @simon is working on the integration plugin.
