gravityflowpdf_process_template_shortcodes

The gravityflowpdf_process_template_shortcodes filter can be used to prevent shortcodes placed in the PDF template being processed.

Parameters

$process_template_shortcodes boolean

Defaults to true.

$form Form Object

The current form.

$entry Entry Object

The current entry.

$step Gravity_Flow_Step_PDF

The object for the pdf step currently being processed.

Examples

Example 1

To prevent shortcodes being processed for all PDF templates you can add the following line to your theme functions.php file

add_filter( 'gravityflowpdf_process_template_shortcodes', '__return_false' );