gfpdf_pre_html_fields

See https://gravitypdf.com/documentation/v4/gfpdf_pre_html_fields/ for more details about this action.

Description

do_action( 'gfpdf_pre_html_fields', (unknown) $entry, (unknown) $config ); 

Parameters (2)

0. $entry (unknown)
The entry.
1. $config (unknown)
The config.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'gfpdf_pre_html_fields', $entry, $config ); 
The following example is for adding a hook callback.
  1. // define the gfpdf_pre_html_fields callback 
  2. function action_gfpdf_pre_html_fields( $entry, $config ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'gfpdf_pre_html_fields', 'action_gfpdf_pre_html_fields', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'gfpdf_pre_html_fields', 'action_gfpdf_pre_html_fields', 10, 2 ); 

Defined (1)

The action is defined in the following location(s).

/src/view/View_PDF.php  
  1. do_action( 'gfpdf_pre_html_fields', $entry, $config );