fg_legalsigning_after_generate

Description

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

Usage

PHP
add_action( 'fg_legalsigning_after_generate', 'your_function_name', 10, 4 );

Parameters

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

PHP
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.