pods_data_traverse_the_join

The Pods - Custom Content Types and Fields pods data traverse the join hook.

Description

apply_filters( 'pods_data_traverse_the_join', (unknown) $the_join, (unknown) $traverse_recurse, (unknown) $traverse_recursive, (unknown) $instance ); 

Parameters (4)

0. $the_join (unknown)
The join.
1. $traverse_recurse (unknown)
The traverse recurse.
2. $traverse_recursive (unknown)
The traverse recursive.
3. $instance (unknown)
The this.

Usage

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

Defined (1)

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

/classes/PodsData.php  
  1. $the_join = apply_filters( 'pods_data_traverse_the_join', $the_join, $traverse_recurse, $traverse_recursive, $this );