The site I'm working on uses WooCommerce Subscription and Memberships to charge a yearly fee. Part of the fee, includes the ability to list their car on the website. Currently, it's a manual process for the owners to go through the car registry and change a post to pending once a membership lapses or expires.
Is there a way to link the post of the car to the users account subscription setting, and when a subscription lapses or cancels, it automatically changes the custom post to pending? And then, if the subscription is renewed, change the post back to live?
Hello. Thank you for contacting the Toolset support.
Well - I guess the question is more related to how WooCommrece Subscription and membership works where you want to automate the things based on expired subscription and renewal of the subscription.
Anything beyond which is not mentioned with above Doc is not possible. I suggest the best thing is to check with the WC subscription plugin support if they support such hook or API that fulfill your need and help you to resolve your issue.