Tell us what you are trying to do? I want users to pay for a membership. If there membership expires, and they haven't renewed, I want their post to no longer be visible. Toolset access does what I need it to do: ONLY users that are members can access pages and create posts. But, If the payment expires, I'll have to manually find the post to unpublish it. Wondering if there's a better way to do this. Let me know if you need additional clarification.
Is there any documentation that you are following? No
Is there a similar example that we can see? No
What is the link to your site? N/A - Site under development.
Hi Shane. I apologize for not being specific enough. I'm not using a memberships plugin. Is this offered by Toolset?
I've setup a "User Form" so that site visitors can register and be a "subscriber". This is what I'm referring to as member.
What are your recommendations to achieve this?
Particularly the woocommerce_scheduled_subscription_expiration hook.
Unfortunately i'm not familiar with this hook since it was made by woocommerce, however if you are able to get the id of the user whose subscription expires.
Alternatively you will need to have an active listener type code to check to see if the user role changes.
What I can recommend that you do if you need more assistance is to contact a registered contractor to help with the setup of this code for you. https://toolset.com/contractors/