Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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;
- }
Advertisement
Add Comment
Please, Sign In to add comment