-
-
Save anonymous/43bbfd3d130d3fdff6c8f7d5ef0a79e6 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
<?php | |
$form_ids = GFFormsModel::get_forms(); | |
$exclude_form_ids = array( 1, 2, 3 ); | |
foreach( $form_ids as $form_id ) { | |
if( ! in_array( $form_ids, $exclude_form_ids ) ) { | |
new GW_Submission_Limit( array( | |
'form_id' => $form_id, | |
'limit' => 1 | |
) ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment