nf_sub_csv_terminator
The Ninja Forms nf sub csv terminator hook.
Description
Parameters (1)
- 0. $n (string) =>
"\n"
- The n.
Usage
- To run the hook, copy the example below.
- $n = apply_filters( 'nf_sub_csv_terminator', $n );
- if ( !empty( $n ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the nf_sub_csv_terminator callback
- function filter_nf_sub_csv_terminator( $n ) {
- // make filter magic happen here...
- return $n;
- };
- // add the filter
- add_filter( 'nf_sub_csv_terminator', 'filter_nf_sub_csv_terminator', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'nf_sub_csv_terminator', 'filter_nf_sub_csv_terminator', 10, 1 );
Defined (5)
The filter is defined in the following location(s).
- /includes/Database/Models/Submission.php
- apply_filters( 'nf_sub_csv_terminator', "\n" )
- apply_filters( 'nf_sub_csv_terminator', "\n" )
- /includes/Actions/Email.php
- return apply_filters( 'nf_sub_csv_terminator', $terminator );
- /deprecated/classes/subs.php
- apply_filters( 'nf_sub_csv_terminator', "\n" )
- apply_filters( 'nf_sub_csv_terminator', "\n" )