Inactivate user when made inactive on Memberpress

Hi there,

Im a developer working with an organization that runs a discussion board with Discourse.

I have a question:
They are running Memberpress on Wordpress which is the “master” for the Discourse installation.
In other words, you log in on Memberpress in order to be logged in at Discourse.

My question is this:
Is there a way to make a user inactive (or remove them altogether) from Discourse when they are made inactive (or removed) on Memberpress?
At present they would continue to be logged in at Discourse.

Thank you!
Regards
Per

Over in the wordpress there are some tips on how to do that integration. You’ll want to set a hook to log the user out when their subscription expires, in addition 8 removing them from the group.

2 Likes