PDF Generator

Articles

gravityflowpdf_content

The gravityflowpdf_content filter is used to modify the contents the PDF Generator add-on defines via the step settings template before generating the PDF. 

gravityflowpdf_delete_post_send

By default, the PDF generated by the Gravity Flow PDF Generator Extension is deleted immediately after sending by email – this helps to ensure that unauthorized users don’t see fields values later on in the workflow

gravityflowpdf_download_authorized

The gravityflowpdf_download_authorized filter allows the download authorization to be overridden. Only triggered for authenticated users and assignees.

gravityflowpdf_download_file_name

Use this filter to change the name of the downloadable PDF file via the merge tag.

gravityflowpdf_file_name

Use this filter to change the name of the PDF file generated via the PDF Generator Add-On.

gravityflowpdf_file_path

The gravityflowpdf_file_path filter allows the file path to be modified.

gravityflowpdf_generated

The gravityflowpdf_generated action allows customization to occur immediately after the successful generation of the PDF file on the server. 

gravityflowpdf_mpdf

The gravityflowpdf_mpdf filter is used to customize the mPDF instance, which will be used to generate the PDF based on the template (defined in step settings) and entry field values.

gravityflowpdf_mpdf_config

The gravityflowpdf_mpdf_config filter allows customization of the mPDF initialization properties to be overridden.

gravityflowpdf_process_template_shortcodes

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