Save up to 50% off during Black Friday!

fg_fillablepdfs_after_generate

Description

This hook allows you to run actions after the PDF has been generated.

Usage

JavaScript
add_action( 'fg_fillablepdfs_after_generate', 'your_function_name', 10, 4 );

Parameters

$pdf_meta array
An array containing all the PDF meta data. Example:

JavaScript
array(
        'pdf_id'       => '5e96304b83575',
        'file_name'    => 'My Generated PDF.pdf',
        'file_path'    => '/path/to/My Generated PDF.pdf',
        'date_created' => '2020-04-14 17:52:30',
        'user_id'      => 92,
        'feed_id'      => 33,
        'access'       => 'anyone',
    )

$entry array
The current Entry object.

$form array
The current Form object.

$feed array
The current Feed object.