Skip to content

Instantly share code, notes, and snippets.

@lukecav
Created May 18, 2018 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukecav/214bc4ccdbf954cce69c5bc7a0777860 to your computer and use it in GitHub Desktop.
Save lukecav/214bc4ccdbf954cce69c5bc7a0777860 to your computer and use it in GitHub Desktop.
Update Zapier feed after entry is updated in Gravity Forms
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 );
}
@lukecav
Copy link
Author

lukecav commented May 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment