add_filter( 'frm_csv_columns', 'move_id_column', 10, 2 ); function move_id_column( $headings, $form_id ) { if ( $headings['id'] ) { $temp_id = $headings["id"]; unset($headings["id"]); $headings = array_merge(["id" => $temp_id], $headings); } return $headings; }