Title: Read counter reset
Last modified: April 29, 2019

---

# Read counter reset

 *  [Hashrak](https://wordpress.org/support/users/hashrak/)
 * (@hashrak)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/read-counter-reset/)
 * 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)

 *  [JNashHawkins](https://wordpress.org/support/users/jnashhawkins/)
 * (@jnashhawkins)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/read-counter-reset/#post-11479826)
 * 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](https://wordpress.org/support/users/hashrak/)
 * (@hashrak)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/read-counter-reset/#post-11480065)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Hashrak](https://wordpress.org/support/users/hashrak/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/read-counter-reset/#post-11480065)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
