gppcmt_encrypt_eid

  1. Description
  2. Usage
  3. Parameters
  4. Examples
    1. Disable encryption of the eid parameter
  5. Source Code
  6. Since

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

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.