Jump To Section
This filter can be used to add new fields to the Tools tab of the Gravity PDF settings page. It's basically a Fields API and all validation, sanitising and saving is handled automatically for you.
The Tools tab doesn't have a submit button like other pages. This page is specifically for action tasks like
Setup Custom Templates. If you want to add a new action you should include a new form
button and do your processing from the
$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 snippet shows you how to add a new button to the Tools tab. Remember, when adding new buttons you also need to do your processing in the
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