# Memberpress + WP Discourse（群组管理）

**URL:** <https://meta.discourse.org/t/memberpress-wp-discourse-groups-management/238447>\
**Category:** WordPress\
**Tags:** sso\
**Created:** [2022年九月8日 11:44 UTC](https://meta.discourse.org/t/memberpress-wp-discourse-groups-management/238447 "2022-09-08T11:44:37Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [2024年十月11日 15:14 UTC](https://meta.discourse.org/t/memberpress-wp-discourse-groups-management/238447/10 "2024-10-11T15:14:30Z")

</div>

> [@benm1](#):
>
> 是正确的，因为会员 ID 和 Discourse 群组是硬编码的。我认为只需要替换成你自己的即可使用。

是的，没错。你只需要更改这些值

```php
define('PV_MEMBERPRESS_PRODUCT_IDS', array(153, 161));
define('PV_DISCOURSE_ENROLLED_GROUP', 'locker');
define('PV_DISCOURSE_UNENROLLED_GROUP', 'KaizenAlumni');
define('PV_MEPR_ACTIVE_STATUSES', array('complete'));

```

---

_[View the full topic](https://meta.discourse.org/t/memberpress-wp-discourse-groups-management/238447)._
