How to protect unauthorized access/download of attachment from notification email in Gravity form


Hello Reader!

As we are aware of newly implemented GDPR (General Data Protection Regulation) laws in European countries. It is related to privacy protection. It was implemented in 2018. Due to GDPR, all the website running in EU countries have to strictly follow the GDPR laws. Like, cookies acceptance agreement, security etc.

Hence, every plugin should follow GDPR laws and I’m writing this blog for Gravity form notification email.

In Gravity form notification email, we have to add small hook to protect unauthorized access/download of attachment.

Please add below code into your current theme function.php or you can add into your custom plugin.

add_filter( 'gform_require_login_pre_download', '__return_true' );

Comments

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.