# Wordpress 사용자를 Discourse 그룹에 자동으로 추가하기

**URL:** https://meta.discourse.org/t/automatically-add-wordpress-user-to-discourse-group/293321
**Category:** WordPress
**Created:** [1월 29, 2024, 4:21오후 UTC](https://meta.discourse.org/t/automatically-add-wordpress-user-to-discourse-group/293321 "2024-01-29T16:21:50Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [1월 30, 2024, 2:08오전 UTC](https://meta.discourse.org/t/automatically-add-wordpress-user-to-discourse-group/293321/2 "2024-01-30T02:08:22Z")

</div>

> [@IreneT](#):
>
> "General"이 새 Discourse 회원의 기본값인 것 같거나, Wishlist/WP-Discourse를 통해 “그룹에 추가” 요청으로 설정되어 있는 것으로 보입니다.

팀에서 WordPress 사이트에 코드를 추가하여 사용자를 “General” 그룹에 자동으로 추가하도록 설정한 것으로 추정됩니다. 이를 수행하는 방법은 두 가지가 있습니다:

- `add_user_to_discourse_group` 함수 사용: [Manage group membership in Discourse with WP Discourse SSO](https://meta.discourse.org/t/manage-group-membership-in-discourse-with-wp-discourse-sso/74724)
- `wpdc_sso_params` 필터 사용: [Automatically Adding New Users (from WP integration) To A Group - #4 by simon](https://meta.discourse.org/t/automatically-adding-new-users-from-wp-integration-to-a-group/156777/4?u=simon)

“trust level 0” 그룹을 "General"로 이름 변경한 가능성도 있지만, 이는 가능성이 낮습니다.

> [@IreneT](#):
>
> 새 회원이 자동으로 추가되는 그룹을 변경하고 싶습니다. 이는 회원이 처음 가입할 때 자동으로 참여하는 “임시” 그룹(그룹: Onboarding)이 될 것입니다.

현재 WordPress 사이트에 추가된 코드를 통해 사용자가 “General” 그룹에 추가되고 있다고 가정하면, 해당 동작을 일으키는 코드를 찾은 후 "General"을 "Onboarding"으로 변경하도록 코드를 수정해야 합니다.

---

_[View the full topic](https://meta.discourse.org/t/automatically-add-wordpress-user-to-discourse-group/293321)._
