Skip to content

Commit c08b55f

Browse files
authored
Merge pull request #1 from jakejackson1/patch-1
Trigger notifications after GF cache cleared. Thanks, @jakejackson1 !
2 parents 6d0762c + d453b30 commit c08b55f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gravityview-enable-notifications.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
* Plugin Name: GravityView - Enable Gravity Forms Notifications
44
* Plugin URI: http://gravityview.co/
55
* Description: Enable Gravity Forms notifications when an entry is edited in GravityView.
6-
* Version: 1.0
6+
* Version: 1.0.1
77
* Author: Katz Web Services, Inc.
88
* Author URI: http://www.katzwebservices.com
99
* License: GPLv2 or later
1010
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
1111
*/
1212

13-
add_action( 'gform_after_update_entry', 'gravityview_enable_gf_notifications_after_update', 10, 2 );
13+
add_action( 'gravityview/edit_entry/after_update', 'gravityview_enable_gf_notifications_after_update', 20, 2 );
1414

1515
/**
1616
* Triggers Gravity Forms notifications engine when entry is updated (admin or frontend)
@@ -47,4 +47,4 @@ function gravityview_enable_gf_notifications_after_api_update_entry( $entry, $or
4747
$form = GFAPI::get_form( $entry['form_id'] );
4848

4949
GFCommon::send_form_submission_notifications( $form, $entry );
50-
}
50+
}

0 commit comments

Comments
 (0)