Prevent editing after 24 hours
add_filter(‘frm_user_can_edit’, ‘custom_prevent_editing_after_time_limit’, 10, 2); function custom_prevent_editing_after_time_limit($edit, $args){ // If user can normally edit entries from this form, check if entry is within the time limit for editing if ( $edit && $args[‘form’]->id == 19 ) { if ( is_numeric( $args[…Continue reading