Skip to content

Instantly share code, notes, and snippets.

View Cristilupchian's full-sized avatar

Cristi Cristilupchian

View GitHub Profile
@Cristilupchian
Cristilupchian / gravityview-trigger-gform_after_submission-form-12.php
Last active March 1, 2019 11:46 — forked from zackkatz/gravityview-trigger-gform_after_submission-form-12.php
GravityView - Trigger the `gform_after_submission` action when an entry is edited, but ONLY for Form #12.
<?php
/**
* GravityView doesn't trigger the `gform_after_submission` action when editing entries. This does that,
* but ONLY FOR FORM #12.
*
* @param array $form
* @param int $entry_id ID of the entry being updated
* @param GravityView_Edit_Entry_Render $object
*