gfpdf_field_section_break_html

See https://gravitypdf.com/documentation/v4/gfpdf_field_section_break_html/ for more information about this filter.

Description

apply_filters( 'gfpdf_field_section_break_html', (unknown) $html, (unknown) $section_title, (unknown) $section_description, (unknown) $value, (unknown) $this_field, (unknown) $this_form, (unknown) $this_entry, (unknown) $instance ); 

Parameters (8)

0. $html (unknown)
The html.
1. $section_title (unknown)
The section title.
2. $section_description (unknown)
The section description.
3. $value (unknown)
The value.
4. $this_field (unknown)
The this field.
5. $this_form (unknown)
The this form.
6. $this_entry (unknown)
The this entry.
7. $instance (unknown)
The instance.

Usage

To run the hook, copy the example below.
  1. $html = apply_filters( 'gfpdf_field_section_break_html', $html, $section_title, $section_description, $value, $this_field, $this_form, $this_entry, $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_field_section_break_html callback 
  2. function filter_gfpdf_field_section_break_html( $html, $section_title, $section_description, $value, $this_field, $this_form, $this_entry, $instance ) { 
  3. // make filter magic happen here... 
  4. return $html
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'gfpdf_field_section_break_html', 'filter_gfpdf_field_section_break_html', 10, 8 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'gfpdf_field_section_break_html', 'filter_gfpdf_field_section_break_html', 10, 8 ); 

Defined (1)

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

/src/helper/fields/Field_Section.php  
  1. return apply_filters( 'gfpdf_field_section_break_html',