• Hello,

    Can someone tell me please if it is possible to reset the number of views counter when the customer’s role change ?

    I explain my website functionnality : a customer buy the access to 1 article, he can display it only 5 times (5 views parametered for subscribers, and denied for the others). He is switched from user role to subscriber role.
    After he reached his 5 views, his access is denied, and he is automatically switched to his precedent role.
    It works fine, BUT : if he buy again the access to the same article, he can’t acceed to it, his counter is still on 5+ views…

    That’s why I wonder if it is possible to reset the personal counter after a role switching.

    Hope someone can help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • This isn’t something WordPress does natively so what custom code or plugin provided this functionality?

    You’ll probably need to talk with that provider to find out how to work around this issue.

    Thread Starter Hashrak

    (@hashrak)

    Understood, thank you for your reply.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Read counter reset’ is closed to new replies.