-
-
Save anonymous/f8e616630d121a6fb69d0c67f6035519 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new GW_Submission_Limit( array( | |
'form_id' => 2, | |
'limit_by' => 'field_value', | |
'limit' => array( | |
// "7" is form field ID for a name field, 7.3 is first, 7.6 is last, "1" is limit for this field ID | |
7.3 => 1, | |
7.6 => 1, | |
), | |
'limit_message' => 'You\'ve already entered today.', | |
'time_period' => per_day, | |
) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment