PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Best way to go about custom CSV generation

  1. Hello,

    I have a client who needs a very customised CSV export. A lot of the fields will be empty with the odd one being populated from the entries table, a few will have default values, some will ideally be populated from the wp_options table and some will have dynamically generated fields such as download date.

    Can you suggest the best way to go about this and any hooks/filters I should look at?

    Posted 9 years ago on Tuesday August 17, 2010 | Permalink
  2. I would check out the export.php file which contains the export functionality and you could repurpose that code to do what you want to do. It should help guide you in pulling and formatting the entry data. You could then customize the code to export how you need it to. Just keep in mind you may want to do it as a separate custom plugin to allow Gravity Forms upgrades without interfering with your custom code.

    Posted 9 years ago on Tuesday August 17, 2010 | Permalink