Is there a Wordpress Filter for fields before the PDF is generated?
Example: we want to store certain fields in an encrypted format, but want the unencrypted value to be shown on the PDF.
Thanks!
27 May, 2020 18:31:39
E2Pdf
Support
Topics: 7
Messages: 3574
Hi,
There is a hook 'e2pdf_extension_render_shortcodes_value' which is used to output value before render to PDF but after processing of shortcodes which seems what you need:
$value - current value that was already replaced by Gravity Forms shortcode
$element_id - element id of E2Pdf field/object which you can get by "Right Mouse Click" -> "Properties".
$template_id - is template id where this field located
$item - Gravity Forms Form ID
$dataset - current entry
We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according our to our Cookie Policy.