Prevent editing after a certain date
add_filter(‘frm_user_can_edit’, ‘check_user_edit_entry’, 10, 2); function check_user_edit_entry($edit, $args){ $form_id = is_numeric($args[‘form’]) ? $args[‘form’] : $args[‘form’]->id; if($form_id == 45 and (time() >= strtotime(‘2014-01-31‘))){ //change 45 to the ID of your form and change ‘2014-01-31’ to the form closing date $edit = false;…Continue reading