This action can be used to run a task or change a setting prior to the PDF being generated and saved using the API. If you change the PDF settings on the fly, you should use the
gfpdf_post_generate_and_save_pdf action to clean up your filter(s).
This action was introduced in Gravity PDF 4.5.
$form | array
- The Gravity Forms form array
$entry | array
- The Gravity Form entry array
$settings | array
- The current Gravity PDF settings array
This action is located in the
create_pdf() method of