Is is possible to include the updated_at field in a csv export? I’m managing an event registration and need to see the last time users’ forms are updated. Thank you!
WordPress Forms
Is is possible to include the updated_at field in a csv export? I’m managing an event registration and need to see the last time users’ forms are updated. Thank you!
If not for you and Formidable Pro this project would not be possible with my budget. You've created the single best piece of software for Wordpress... period.
W Holmes (We Create You)You have an Awesome Plugin! The best hands down - I've tried a ton of them.
Lee Corsack (Pixel Force)Copyright © 2013 Strategy11, LLC
October 17, 2012 at 9:09 pm
Sure, that would be a good addition to the csv. Here are some changes you can make now that will be included in the the next release. Please open formidable/pro/classes/views/frmpro-entries/csv.php and change line 15ish from:
echo '"'. __('Timestamp', 'formidable') .'","IP","ID","Key"'."\n";
to:
echo '"'. __('Timestamp', 'formidable') .'","'. __('Last Updated', 'formidable') .'","IP","ID","Key"'."\n";
And right after line 71ish
echo "\"{$formatted_date}\",";
add these two lines:
$formatted_date = date($wp_date_format, strtotime($entry->updated_at));
echo "\"{$formatted_date}\",";
October 18, 2012 at 9:26 am
Works perfect. Thanks for your help.
Topic closed.