• Resolved dionix

    (@dionix)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Uncanny Owl

    (@uncannyowl)

    Hello,

    While there is a WordPress action that allows you to change the status of a post to “Private”, there is no way to only change the status for all posts published by a specific user. However, the action of “Set {a post} by {a specific author} to {a status}” is a good idea, so it has been added to our feature request list for consideration in a future release.

    We will go ahead and close the ticket for now, since the request has been captured but isn’t currently something Automator can perform.

    Thanks for the suggestion!

    Thread Starter dionix

    (@dionix)

    In AutomatorWp they have managed to do it, what happens is that I have bought the Uncanny Automator, I pass you the link in case it helps you:

    https://automatorwp.com/docs/special-actions/multiple-posts-actions/

    • This reply was modified 2 years, 10 months ago by dionix.
    Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    We can’t say too much here, but we think you’ll soon be happy you decided to go with Uncanny Automator. Thanks again for the feedback. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change the status of a user’s posts when their subscription expires.’ is closed to new replies.