nf_sub_csv_bom
The Ninja Forms nf sub csv bom hook.
Description
Parameters (1)
- 0. $xef_xbb_xbf (string) =>
"\xEF\xBB\xBF"
- The xef xbb xbf.
Usage
- To run the hook, copy the example below.
- $xef_xbb_xbf = apply_filters( 'nf_sub_csv_bom', $xef_xbb_xbf );
- if ( !empty( $xef_xbb_xbf ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the nf_sub_csv_bom callback
- function filter_nf_sub_csv_bom( $xef_xbb_xbf ) {
- // make filter magic happen here...
- return $xef_xbb_xbf;
- };
- // add the filter
- add_filter( 'nf_sub_csv_bom', 'filter_nf_sub_csv_bom', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- 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
- echo apply_filters( 'nf_sub_csv_bom', "\xEF\xBB\xBF" ) ; // Byte Order Mark
- /deprecated/classes/subs.php
- echo apply_filters( 'nf_sub_csv_bom', "\xEF\xBB\xBF" ) ; // Byte Order Mark