Created
May 18, 2018 03:32
-
-
Save lukecav/214bc4ccdbf954cce69c5bc7a0777860 to your computer and use it in GitHub Desktop.
Update Zapier feed after entry is updated in Gravity Forms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'gform_after_update_entry_2', 'send_to_zapier_on_update', 10, 2 ); | |
function send_to_zapier_on_update( $form, $entry_id ) { | |
$entry = GFAPI::get_entry( $entry_id ); | |
GFZapier::send_form_data_to_zapier( $entry, $form ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gform_after_update_entry_2 = 2 is the form ID you want to target
https://docs.gravityforms.com/gform_after_update_entry/
https://docs.gravityforms.com/gform_after_update_entry/#3-trigger-zapier-feed