• Skip to primary navigation
  • Skip to main content
  • Skip to footer

FormSync

Next level form management for WordPress.

  • Gravity Forms
  • Contact
  • Development Updates

FormSync 0.3

September 10, 2019 by Ren Ventura Leave a Comment

Big thanks to the crew at Gravity Forms! After submitting a request, they were awesome enough to add a new action hook to the Gravity Forms core plugin. I got in touch with them a few weeks ago about adding a new hook to Gravity Forms that runs when a form feed is saved. They added the following to the GFFeedAddOn->save_feed_settings() method:

/**
 * Perform a custom action when a feed is saved.
 *
 * @param string  $feed_id 	The ID of the feed which was saved.
 * @param int 	  $form_id 	The current form ID associated with the feed.
 * @param array   $settings	An array containing the settings and mappings for the feed.
 * @param GFAddOn $addon 	The current instance of the GFAddOn object which extends GFFeedAddOn or GFPaymentAddOn (i.e. GFCoupons, GF_User_Registration, GFStripe).
 *
 * @since 2.4.12.3
 */
do_action( 'gform_post_save_feed_settings', $result, $form_id, $settings, $this );

The new hook allows FormSync to support feeds much more reliably. Up to now, FormSync was using a cron to scan forms after a feed was updated. This solution was not ideal, so I reached out to the GF devs about adding a hook to run when feeds are saved. They included the new hook with Gravity Forms version 2.4.12.3. So awesome!

That said, FormSync should still work to scan form feeds on GF versions before 2.4.12.3. However, users running Gravity Forms versions 2.4.12.3 and up will enjoy better reliability when FormSync scans form feeds (e.g. PayPal, GravityFlow, etc.).

Building your WordPress forms locally?

Forget manual export/import, and cumbersome database migrations! FormSync helps you build your WordPress forms locally, and automatically sync them on staging and production. Check it out!

Filed Under: Updates

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Footer

Looking for?

  • Home
  • Contact
  • Account
  • Blog

Documentation

  • FormSync and Gravity Forms

Helpful

  • Follow FormSync on Twitter

Copyright © FormSync - Easy form management for WordPress.