Filename: gppa-relax-template-cache.php
gppa-relax-template-cache.php
<?php /** * Gravity Perks // GP Populate Anything // Relax Template Cache To Not Include Field ID * https://gravitywiz.com/documentation/gravity-forms-populate-anything/ */ add_filter( 'gppa_process_template_cache_key', function( $cache_key, $field, $object, $template, $template_name, $object_type, $primary_property ) { return serialize( array( $template, $object_type->get_object_id( $object, $primary_property ), ) ); }, 10, 7 );
Your email address will not be published. Required fields are marked *
Comment *
Notify me of followup comments via e-mail
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.
Δ