massimport_getfields

The Gravity Forms Mass Import massimport getfields hook.

Description

apply_filters( 'massimport_getfields', (unknown) $num ); 

Parameters (1)

0. $num (unknown)
The num.

Usage

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

Defined (3)

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

/mass_importer_h.php  
  1. $ararr = apply_filters('massimport_getfields', $num); 
/gravity-forms-mass-import.php  
  1. $ararr = apply_filters('massimport_getfields', $num); 
  1. $ararr = apply_filters('massimport_getfields', $formnum);