First of all, I would like to congratulate you for this awsome plugin. I have been using the above code to display the profile_id in the generated PDF file, but now, due to GDPR issues, I need to MD5 the profile user_id. I am using this code, but I don't know how to make use of the user_md5 variable inside the PDF template.
echo do_shortcode('[e2pdf-download id="3" dataset="'. $post_id .'" user_id="' . $profile_id . '" user_md5="' . md5($profile_id) . '"]');
I tried [e2pdf-user key="user_md5" meta="true"] but it gets nothing. Also, I tried to md5 on the $profile_id variabile above, but since is no longer an INT, it does not work.
Please help, I need to retrieve the value of the user_md5 variable above in the PDF template.
We use tools, such as cookies, to enable essential services and functionality on our site and to collect data on how visitors interact with our site, products and services. By accepting cookies you are agreeing to our Cookie Policy.