This hook can be used to change the amount of time that is allowed between duplicate entries. By default, duplicate entries can't be submitted within 60 seconds of each other.
Usage
add_filter('frm_time_to_check_duplicates', 'change_duplicate_time_limit', 10, 2);
Parameters
- $time_limit (string)
- $entry_values (array)
Examples
Remove the time limit for all forms
add_filter( 'frm_time_to_check_duplicates', '__return_false' );
Remove the time limit for a specific form
add_filter('frm_time_to_check_duplicates', 'change_duplicate_time_limit_one_form', 10, 2); function change_duplicate_time_limit_one_form( $time_limit, $entry_values ){ if ( $entry_values['form_id'] == 100 ) { $time_limit = 0; } return $time_limit; }
If you would like to add your own example, click here.
Have something to add?
Click here to provide feedback on this page.