# If someone changes their email in WordPress, change it in Discourse - sso\_sync

**URL:** <https://meta.discourse.org/t/if-someone-changes-their-email-in-wordpress-change-it-in-discourse-sso-sync/76572>\
**Category:** WordPress\
**Created:** [2017 年12 月 21 日 18:45 UTC](https://meta.discourse.org/t/if-someone-changes-their-email-in-wordpress-change-it-in-discourse-sso-sync/76572 "2017-12-21T18:45:17Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![lkramer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lkramer/32/83897_2.png) [@lkramer](https://meta.discourse.org/u/lkramer)\
发布日期： [2017 年12 月 21 日 18:45 UTC](https://meta.discourse.org/t/if-someone-changes-their-email-in-wordpress-change-it-in-discourse-sso-sync/76572/1 "2017-12-21T18:45:17Z")

</div>

Howdy all. I’ve spent a couple hours reading threads and trying to get this work with no luck.

Basically we just want that if someone changes their email in WordPress, it gets changed in Discourse.

I think I can use the sso\_sync api call but I can’t seem to figure out how to use it. Can anyone help with a php code example? (I use other discourse api calls successfully. Just can’t figure out how to use this one.)

Thanks!

---

_[View the full topic](https://meta.discourse.org/t/if-someone-changes-their-email-in-wordpress-change-it-in-discourse-sso-sync/76572)._
