Disable Encryption of the EID Parameter

By default, the eid parameter is encrypted. This snippet is used to disable encryption revealing the raw Gravity Forms entry ID.

Instructions

See “Where do I put snippets?” in our documentation for installation instructions.

Code

Filename: gppcmt-disable-encryption-of-the-eid-parameter.php

<?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' );

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.