gppcmt_encrypt_eid
Description
Disables (or enables) encryption of the eid parameter.
By default, all eid parameters within GP Post Content Merge Tags are encrypted. This filter can be used to disable encryption of the Gravity Forms entry ID.
Usage
add_filter( 'gppcmt_encrypt_eid', '__return_false' );
Parameters
$enabled bool
Set to
false
to disable encryption of the eid parameter.$confirmation array
The Confirmation Object.
$form array
The Form Object.
$entry array
The Entry Object.
Examples
Disable encryption of the eid parameter
<?php
/**
* Gravity Perks // Post Content Merge Tags // Disable Encryption of the EID Parameter
* https://gravitywiz.com/documentation/gravity-forms-post-content-merge-tags/
*
* By default, the `eid` parameter is encrypted. This snippet is used to disable encryption revealing
* the raw Gravity Forms entry ID.
*/
add_filter( 'gppcmt_encrypt_eid', '__return_false' );
Source Code
This filter is located in GP_Post_Content_merge_Tags::append_eid_parameter() in class-gp-post-content-merge-tags.php.
Since
This filter is available since GP Post Content Merge Tags 1.0.