This filter can be used to dynamically change or add to a form's PDF settings. For a permanent way to set the PDF settings you should use the
GPDFAPI::update_pdf() method instead.
You also have the option to use the
$settings | array
- The current PDF settings being processed
This snippet shows you how you can easily update all your forms from a legacy v3 template to a v4 template, without having to manually change the settings in the UI.
While the PDF master password setting has been removed from the UI, you can manually set this using the following snippet:
You can also specifically target a form:
This filter is located in the
Helper_Abstract_Options::get_pdf() method of