This filter can be used to add new fields to the security section of the General tab of the Gravity PDF settings page. It's basically a Fields API and all validation, sanitising and saving is handled automatically for you.
$fields | array
- An associative array that includes a breakdown of the field information. We go into more detail about what each field configuration setting does in our custom PDF configuration guide.
The following sample shows you how to add two new fields to the security section of the General tab in the Gravity PDF settings page:
The following snippet shows you how to change the label of an existing field:
This filter is located in the
Helper_Options_Fields::get_registered_fields() method of