# מספר אתרי Discourse על גבי WordPress אחד עם wp-discourse

**URL:** <https://meta.discourse.org/t/multiple-discourse-sites-on-single-wordpress-with-wp-discourse/270316>\
**Category:** Product Support\
**Tags:** wordpress\
**Created:** [2 ביולי,‏ 2023,‏ 5:42pm UTC](https://meta.discourse.org/t/multiple-discourse-sites-on-single-wordpress-with-wp-discourse/270316 "2023-07-02T17:42:55Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [12 ביולי,‏ 2023,‏ 10:19pm UTC](https://meta.discourse.org/t/multiple-discourse-sites-on-single-wordpress-with-wp-discourse/270316/5 "2023-07-12T22:19:34Z")

</div>

> [@pfaffman](#):
>
> I guess, pushing groups from woo commerce or similar

I’m assuming this means adjusting a user’s group memberships on a particular Discourse site when they make a purchase on the WordPress site. That sounds doable, but would best be done with an API request to the `sync_sso` route. The [WP Discourse](https://github.com/discourse/wp-discourse) plugin has functions that can be used for this, but they use the Discourse URL and API Key that’s set on the plugin’s options pages: [https://github.com/discourse/wp-discourse/blob/main/lib/utilities.php#L278-L326](https://github.com/discourse/wp-discourse/blob/main/lib/utilities.php#L278-L326). Maybe the plugin could add filter hooks to those params so that they can be set conditionally.

---

_[View the full topic](https://meta.discourse.org/t/multiple-discourse-sites-on-single-wordpress-with-wp-discourse/270316)._
