-
-
Save anonymous/d2f3e35bc7c0d3f8c89c553b928ee643 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
$gwsl1 = new GW_Submission_Limit( array( | |
'form_id' => 327, | |
'limit' => 2, | |
'limit_message' => 'Aha! You have been limited.' | |
) ); | |
echo $gwsl1->get_entry_count( 327 ); | |
echo '<br>'; | |
echo $gwsl1->get_limit(); | |
echo '<br>'; | |
echo $gwsl1->get_limit() - $gwsl1->get_entry_count( 327 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment