This method will return an array containing an individual PDF's settings on a particular Gravity Form.
This method was introduced in Gravity PDF 4.0.
$form_id | integer
- The Gravity Form ID
$pdf_id | string
- The PDF internal identifier (found in the
pidURL parameter when viewing individual PDF settings in the admin area)
array | WP_Error
- An array of the PDF settings will be returned on success, otherwise a WP_Error object on failure
This snippet shows you how to get an individual PDF configuration and do an active if it's currently active:
This method is located in