pods_data_traverse_recurse_ignore_aliases

The Pods - Custom Content Types and Fields pods data traverse recurse ignore aliases hook.

Description

apply_filters( 'pods_data_traverse_recurse_ignore_aliases', (unknown) $ignore_aliases, (unknown) $field, (unknown) $traverse_recurse, (unknown) $instance ); 

Parameters (4)

0. $ignore_aliases (unknown)
The ignore aliases.
1. $field (unknown)
The field.
2. $traverse_recurse (unknown)
The traverse recurse.
3. $instance (unknown)
The this.

Usage

To run the hook, copy the example below.
  1. $ignore_aliases = apply_filters( 'pods_data_traverse_recurse_ignore_aliases', $ignore_aliases, $field, $traverse_recurse, $instance ); 
  2.  
  3. if ( !empty( $ignore_aliases ) ) { 
  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_recurse_ignore_aliases callback 
  2. function filter_pods_data_traverse_recurse_ignore_aliases( $ignore_aliases, $field, $traverse_recurse, $instance ) { 
  3. // make filter magic happen here... 
  4. return $ignore_aliases
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'pods_data_traverse_recurse_ignore_aliases', 'filter_pods_data_traverse_recurse_ignore_aliases', 10, 4 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'pods_data_traverse_recurse_ignore_aliases', 'filter_pods_data_traverse_recurse_ignore_aliases', 10, 4 ); 

Defined (1)

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

/classes/PodsData.php  
  1. $ignore_aliases = apply_filters( 'pods_data_traverse_recurse_ignore_aliases', $ignore_aliases, $field, $traverse_recurse, $this );