Skip to content

Instantly share code, notes, and snippets.

@lukecav
Created May 18, 2018 03:55
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/f3797eeb50768e7a10cd9c4657b27d44 to your computer and use it in GitHub Desktop.
Save lukecav/f3797eeb50768e7a10cd9c4657b27d44 to your computer and use it in GitHub Desktop.
Update Zapier feed after entry is updated in GravityView
add_action( 'gravityview/edit_entry/after_update', array( $this, '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