How to disable GravityView email encryption
To disable email encryption (also known as "obfuscation"), open the Email field settings while editing a View, scroll to the Advanced section, uncheck Encrypt Email Address, then update your View.
Step 1: Access Email Field Settings
- Locate your email address field.
- Click on the gear icon to configure the field settings.
Step 2: Modify Advanced Settings
- Scroll down to the 'Advanced' section.
- Uncheck the option for 'Encrypt Email Address'.
Step 3: Save Changes
- Close the field settings.
- Click on 'Update Your View' to apply the changes.
FAQ
Does disabling encryption affect stored data?
No. This setting only affects how the email is displayed in the View. The value stored in the Gravity Forms entry remains unchanged.
Will this apply to all Email fields?
No. Encryption settings are controlled per field. You’ll need to update each Email field individually if you want all of them unencrypted.
Does disabling encryption affect permissions or access?
No. It only changes whether the address is masked in the View. User access to the View is controlled separately via GravityView and WordPress permissions.
Why would I want to disable email encryption?
When exporting data or programatically accessing a View, you may want to have the email address in plain text.
Can I re-enable encryption later?
Yes. Return to the field’s Advanced settings and re-check Encrypt Email Address.
Are there any filters I can use to disable email obfuscation?
Yes, you can use the gravityview_email_prevent_encrypt filter to disable email encryption. It accepts a true/false response.
/**
* Prevent encrypting emails no matter what - this is handy for DataTables exports, for example
*
* @param boolean $prevent_encrypt Whether to prevent email encryption
*/
add_filter( 'gravityview_email_prevent_encrypt', '__return_true' );