fg_legalsigning_pdf_args
Description
This filter allows you to modify the details of the request to generate a document before it is sent to the Legal Signing API for generation.
Usage
add_filter( 'fg_legalsigning_pdf_args', 'your_function_name', 10, 4 );
Parameters
$pdf_meta array
An array containing all the PDF meta data. Example:
array( 'template_id' => '996e96e0-6763-4bf1-bdc7-c5cc6d4e40db', 'file_name' => 'My Generated PDF.pdf', 'field_values' => array( 'First Name' => 'John', 'Last Name' => 'Doe', ), 'password' => null, 'user_password' => 'Open Sesame', 'permissions' => array( 'Printing', 'DegradedPrinting', 'ModifyContents', 'Assembly', 'CopyContents', 'ScreenReaders', 'ModifyAnnotations', 'FillIn' ), 'flatten' => false, )
$feed array
The current Feed object.
$entry array
The current Entry object.
$form array
The current Form object.
Examples
Populating Data From List Field
This example uses the contents of a multiple column List field to populate template fields matching the days of the week.