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 ) { //change 100 to your form ID $time_limit = 31536000; } return $time_limit; }However, we still sometimes receive some duplicate entries. But the biggest problem is that this code is always visible somewhere on our web pages.
PHP code needs to be placed in functions.php, a code snippet plugin, or a custom PHP library of your own design. PHP executes on the server. It never shows on the front end unless you've written out as text.
Please login or Register to submit your answer