gfpdf_pdf_html_output

Process mergetags and shortcodes in PDF.

Description

apply_filters( 'gfpdf_pdf_html_output', (unknown) $html, (unknown) $form, (unknown) $this_entry, (unknown) $args_settings, (unknown) $instance ); 

Parameters (5)

0. $html (unknown)
The html.
1. $form (unknown)
The form.
2. $this_entry (unknown)
The this entry.
3. $args_settings (unknown)
The args settings.
4. $instance (unknown)
The instance.

Usage

To run the hook, copy the example below.
  1. $html = apply_filters( 'gfpdf_pdf_html_output', $html, $form, $this_entry, $args_settings, $instance ); 
  2.  
  3. if ( !empty( $html ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the gfpdf_pdf_html_output callback 
  2. function filter_gfpdf_pdf_html_output( $html, $form, $this_entry, $args_settings, $instance ) { 
  3. // make filter magic happen here... 
  4. return $html
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'gfpdf_pdf_html_output', 'filter_gfpdf_pdf_html_output', 10, 5 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'gfpdf_pdf_html_output', 'filter_gfpdf_pdf_html_output', 10, 5 ); 

Defined (1)

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

/src/helper/Helper_PDF.php  
  1. $html = apply_filters( 'gfpdf_pdf_html_output', $html, $form, $this->entry, $args['settings'], $this );