Title: Reset export count
Last modified: February 27, 2019

---

# Reset export count

 *  Resolved [Katy87](https://wordpress.org/support/users/katy87/)
 * (@katy87)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/reset-export-count/)
 * Hi, is it possible to reset the count of exports, which is visible on the settings
   page?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Doeke Norg](https://wordpress.org/support/users/doekenorg/)
 * (@doekenorg)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/reset-export-count/#post-11254919)
 * Hi [@katy87](https://wordpress.org/support/users/katy87/),
 * Not at the moment, but I have to on the radar. You could hack the database 😉
 * I’ll see if I can give you a temporary fix in the meantime. I’ll get back to 
   you on this!
 *  Thread Starter [Katy87](https://wordpress.org/support/users/katy87/)
 * (@katy87)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/reset-export-count/#post-11255179)
 * Haha, oke thanks 🙂
 *  Plugin Author [Doeke Norg](https://wordpress.org/support/users/doekenorg/)
 * (@doekenorg)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/reset-export-count/#post-11256120)
 * Hi [@katy87](https://wordpress.org/support/users/katy87/),
 * Got a small function for you to reset a specific form.
 *     ```
       //add this to your functions.php
   
       function resetFormDownloadCount($form_id) {
           $form_meta = GFFormsModel::get_form_meta($form_id);
           if (array_key_exists(\GFExcel\GFExcel::KEY_COUNT, $form_meta)) {
               $form_meta[\GFExcel\GFExcel::KEY_COUNT] = 0;
               GFFormsModel::update_form_meta($form_id, $form_meta);
           }
       }
   
       // now let's reset a form. Here we are resetting form: 1. 
       resetFormDownloadCount(1); // remove or escape this line after the reset
       ```
   
 * When it is reset, remove, or escape the last line (with `//` in front of it) 
   to prevent it from being continously reset, and stay forever young, eh.. zero.
 * Please let me know if this worked for you!
 *  Plugin Author [Doeke Norg](https://wordpress.org/support/users/doekenorg/)
 * (@doekenorg)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/reset-export-count/#post-11475835)
 * Hi [@katy87](https://wordpress.org/support/users/katy87/), just a heads up; this
   is now native as of `1.6.1`. You get a little reset button next to the download
   button.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Reset export count’ is closed to new replies.

 * ![](https://ps.w.org/gf-entries-in-excel/assets/icon.svg?rev=3434379)
 * [GravityExport Lite for Gravity Forms](https://wordpress.org/plugins/gf-entries-in-excel/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gf-entries-in-excel/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gf-entries-in-excel/)
 * [Active Topics](https://wordpress.org/support/plugin/gf-entries-in-excel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gf-entries-in-excel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gf-entries-in-excel/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Doeke Norg](https://wordpress.org/support/users/doekenorg/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/reset-export-count/#post-11475835)
 * Status: resolved