This field can be used to create new core PDF template fields and make them available to the PDF configuration.
$fields | array
- The associative array which holds the field ID in the array key and the method/function which will get passed to PHP's
$template_settings | array
- The current template settings being run. Read more about template configurations here.
$class | object
- The current template's configuration class being processed.
This snippet shows how to leverage this filter to create a new core field and define that core field's settings:
While this adds a new core field, you still need to process the value when set. Use the
gfpdf_core_template action to do this.
This filter is located in the
Model_Form_Settings::setup_core_custom_appearance_settings() method of