Disable button after one click per user
-
Can someone suggest some possible solution of how do I achieve the following in WordPress.
I have a custom post type named ‘Deals’. On each deal page, I want to have a button which upon clicking will show some coupon code on popup and then that button will be disabled for that particular user forever.
I know how to create button and show popup, but what will be the way to disable it for that particular user after that?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Disable button after one click per user’ is closed to new replies.