Skip to content

Instantly share code, notes, and snippets.

@ReveurGAM
ReveurGAM / gravityview-trigger-gform_after_submission-form-12.php
Last active February 28, 2019 18:53 — 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 #20.
*
* @param array $form
* @param int $entry_id ID of the entry being updated
* @param GravityView_Edit_Entry_Render $object
*