Hi Victor
I want to restrict one submission per user in a 24 hour period.
J
Your code doesn’t take the user id into account. Users must be registered in WordPress and the user id needs to be captured on the form. Then you can use the combination of user id and create date as your filter. If your users aren't registered as WordPress users, you have to decide on a combination of data values you're capturing on the form to construct a unique electronic fingerprint.
Please login or Register to submit your answer