# Suspend/unsuspend user based on WP membership status

**URL:** https://meta.discourse.org/t/suspend-unsuspend-user-based-on-wp-membership-status/132165
**Category:** WordPress
**Created:** [October 29, 2019, 6:48pm UTC](https://meta.discourse.org/t/suspend-unsuspend-user-based-on-wp-membership-status/132165 "2019-10-29T18:48:12Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [October 29, 2019, 11:39pm UTC](https://meta.discourse.org/t/suspend-unsuspend-user-based-on-wp-membership-status/132165/4 "2019-10-29T23:39:51Z")

</div>

Oh. I see. I don’t see that the plugin has a function to suspend the user (but may not know where to look). Worst can you can add an API call to the hook that gets called when their subscription fails and have it suspend the user. You can find it using [Reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576)

---

_[View the full topic](https://meta.discourse.org/t/suspend-unsuspend-user-based-on-wp-membership-status/132165)._
