# Trying to bring paying members from wp to discourse

**URL:** https://meta.discourse.org/t/trying-to-bring-paying-members-from-wp-to-discourse/125201
**Category:** WordPress
**Created:** [8 באוגוסט,‏ 2019,‏ 7:21am UTC](https://meta.discourse.org/t/trying-to-bring-paying-members-from-wp-to-discourse/125201 "2019-08-08T07:21:20Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [8 באוגוסט,‏ 2019,‏ 7:50am UTC](https://meta.discourse.org/t/trying-to-bring-paying-members-from-wp-to-discourse/125201/2 "2019-08-08T07:50:46Z")

</div>

The following guides should be what you are looking for:

> [@Manage group membership in Discourse with WP Discourse SSO](https://meta.discourse.org/t/managing-discourse-group-membership-with-wp-discourse/74724):
>
> [WP Discourse](https://github.com/discourse/wp-discourse) functions The [WP Discourse](https://github.com/discourse/wp-discourse) plugin has a couple of functions that can be used to associate WordPress users with Discourse groups. These functions are only enabled on sites that are using WordPress as the SSO provider for Discourse. add\_user\_to\_discourse\_group( $user\_id, $group\_names ) [View Code](https://github.com/discourse/wp-discourse/blob/main/lib/utilities.php#L278-L301) remove\_user\_from\_discourse\_group( $user\_id, $group\_names ) [View Code](https://github.com/discourse/wp-discourse/blob/main/lib/utilities.php#L303-L326) Each of these functions take the same two parameters: $user\_id: the WordPress user’s id $group\_names: a comma separat…

> [@Understanding groups and category permissions](https://meta.discourse.org/t/how-to-use-category-security-settings-to-control-access-to-content/87678):
>
> bookmark This guide explains how to manage category visibility and user permissions using groups in Discourse. person_raising_hand Required user level: Administrator Groups and category permissions are crucial for managing access and content creation within your Discourse community. This guide will help you understand how to use these features effectively. Summary Category permissions control visibility and user actions Permissions are managed through group access lists Different perm…

---

_[View the full topic](https://meta.discourse.org/t/trying-to-bring-paying-members-from-wp-to-discourse/125201)._
