ninja_forms_csv_terminator
The Ninja Forms ninja forms csv terminator hook.
Description
Parameters (1)
- 0. $terminator (unknown)
- The terminator.
Usage
- To run the hook, copy the example below.
- $terminator = apply_filters( 'ninja_forms_csv_terminator', $terminator );
- if ( !empty( $terminator ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the ninja_forms_csv_terminator callback
- function filter_ninja_forms_csv_terminator( $terminator ) {
- // make filter magic happen here...
- return $terminator;
- };
- // add the filter
- add_filter( 'ninja_forms_csv_terminator', 'filter_ninja_forms_csv_terminator', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'ninja_forms_csv_terminator', 'filter_ninja_forms_csv_terminator', 10, 1 );
Defined (2)
The filter is defined in the following location(s).
- /deprecated/includes/deprecated.php
- return apply_filters( 'ninja_forms_csv_terminator', $terminator );
- return apply_filters( 'ninja_forms_csv_terminator', "\n" );