Exporting a CSV of entries by a user
I've managed to create a simple link which will allow a logged-in user to download their own entries of a form in a csv format.
./wp-admin/admin-ajax.php ?frm_action=0 &action=frm_entries_csv &form=X &s=[user_id] &fid=user_id
(X being the ID of the form. I've also had to strip the link code from the above example and add spaces as this site thinks it's spam!)
This works really well, but it generates a CSV with columns for every field in the form - and I'd really like to be able to filter out some of the fields which include such things as - ip/user_id/timestamp/key and a few of my own created fields which don't need to be in the user exported CSV etc...
I've tried adding: add_filter('field_id=86,70,76,77,87,83’) - but that doesn't do anything...
Can anyone assist?