This method allows you to update an existing PDF's settings. If you are using data provided by the user ensure you validate and sanitize everything as we don't do it for you.
This method was introduced in Gravity PDF 4.0.
$form_id | integer
- The Gravity Forms ID
$pdf_id | string
- The PDF internal identifier (found in the
pidURL parameter when viewing individual PDF settings in the admin area)
$settings | array
- The PDF settings you are updating to. This settings array will replace ALL current PDF settings.
- True on success, false on failure
The following snippet shows you how to retrieve a PDF's existing settings and update the name:
For the full list of settings available see the
form_settings_advanced arrays in the
This method is located in