Skip to content

Commit bb603da

Browse files
authored
gpep-delete-token-after-use.php: Updated header to disambiguate from another snippet.
1 parent bc76c50 commit bb603da

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gp-easy-passthrough/gpep-delete-token-after-use.php

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
* https://gravitywiz.com/documentation/gravity-forms-easy-passthrough/
55
*
66
* Delete the EP token that was used to populate a given form after that form is submitted.
7+
*
8+
* **Note:** This differs from the [Delete Passthrough Entry After Submission][1] snippet in that it only deletes the token, preserving
9+
* the entry for your records.
10+
*
11+
* [1]: https://gravitywiz.com/snippet-library/gpep-delete-passthrough-entry-after-submission/
712
*/
813
add_filter( 'gform_after_submission', function() {
914
if ( rgget( 'ep_token' ) && is_callable( 'gp_easy_passthrough' ) ) {

0 commit comments

Comments
 (0)