• Hi,

    Just a feature request to add gform_after_submission & gform_delete_lead to the getRegisterEvents array so it will purge the cache when a form entry is submitted or deleted. Currently running a Gravity Forms Directory list for a kids writing challenge site, but the list doesn’t purge/update unless you add the above action into the list.

    Cheers,
    Ed

    https://ww.wp.xz.cn/plugins/varnish-http-purge/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I’ll have to study that plugin, as I’m not familiar with it, but if the plugin is properly writing to the DB as if it were a new post or a comment, it would purge the cache. If it’s something else custom and not a CPT, then it’s going to be pretty tricky.

    Thread Starter Ed

    (@coopeh)

    It doesn’t purge it by default unfortunately as it’s not saved as a post or comment, but adding the two actions above has allowed it to purge on each entry being created or deleted. The actions are listed here – http://www.gravityhelp.com/documentation/page/Developer_Docs

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

The topic ‘Feature Request: Purge on Gravity Forms submit’ is closed to new replies.