Skip to content

Instantly share code, notes, and snippets.

View walter-garcia's full-sized avatar
:octocat:
The only way to do one thing is to do it

Walter Marcel Barbosa Garcia walter-garcia

:octocat:
The only way to do one thing is to do it
View GitHub Profile
@walter-garcia
walter-garcia / gravityview-trigger-gform_after_submission-form-20.php
Last active March 5, 2019 15:03 — 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 #20.
<?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
*