Generate Token for Partial Entries

Code

Filename: gpep-tokens-for-partial-entries.php

<?php
/**
 * Gravity Perks // Easy Passthrough // Generate Token for Partial Entries
 * https://gravitywiz.com/documentation/gravity-forms-easy-passthrough/
 */
add_action( 'gform_partialentries_post_entry_saved', function( $partial_entry ) {
	if ( is_callable( 'gp_easy_passthrough' ) ) {
		gp_easy_passthrough()->filter_gform_entry_post_save( $partial_entry );
	}
}, 9 );

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Trouble installing this snippet? See our troubleshooting tips.
  • Need to include code? Create a gist and link to it in your comment.
  • Reporting a bug? Provide a URL where this issue can be recreated.

By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.