nf_sub_csv_bom

The Ninja Forms nf sub csv bom hook.

Description

apply_filters( 'nf_sub_csv_bom', (string) $xef_xbb_xbf ); 

Parameters (1)

0. $xef_xbb_xbf (string) => "\xEF\xBB\xBF"
The xef xbb xbf.

Usage

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

Defined (2)

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

/includes/Database/Models/Submission.php  
  1. echo apply_filters( 'nf_sub_csv_bom', "\xEF\xBB\xBF" ) ; // Byte Order Mark 
/deprecated/classes/subs.php  
  1. echo apply_filters( 'nf_sub_csv_bom', "\xEF\xBB\xBF" ) ; // Byte Order Mark