Change the status of a user’s posts when their subscription expires.
-
Hello, I would like to make an inquiry.
I have woocommer subscriptions installed in my project.
Users when they register and pay can post entries on their profile.The point is that I would like that when they stop paying for all the entries that they have published in their profile they will become private and will not be shown on the front-end.
I have several recipes installed so that when the user buys a premium subscription their user role becomes Author and they can publish posts.
I have created another recipe with uncanny so that when the subscription is finished or unsubscribed, the user role will be a subscriber again.
Is there a way that I can only change the status of that subscriber’s entries to private so that they are not shown as published?Because when I create the recipe with Uncanny, all the publications of all the users change and I would only like to change the publications of the user who does not follow the woocommer subscription.
- The topic ‘Change the status of a user’s posts when their subscription expires.’ is closed to new replies.