• Hi Jake – thanks for the great plugin.

    I have come accross a small problem if we want to send a couple of different notifications with the same pdf the gfpdf_post_save_pdf_$form_id action fires for each notification and therefore we end up copying the pdf multiple times.

    Is there anyway to be able to have an option so that the action is only fired once rather than with every notification?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Jake Jackson

    (@blue-liquid-designs)

    No. It’s not possible to limit that action to only firing once (we may need to add another filter down the track that only runs when the PDF gets generated).

    For now you’ll need to add a check into the gfpdf_post_save_pdf filter to see if your PDF has already been copied. If it has you can skip over it.

Viewing 1 replies (of 1 total)
  • The topic ‘gfpdf_post_save_pdf_$form_id fires multiple times’ is closed to new replies.