ms_helper_utility_array_intersect_assoc_deep

The Membership 2 ms helper utility array intersect assoc deep hook.

Description

apply_filters( 'ms_helper_utility_array_intersect_assoc_deep', (unknown) $assoc_array, (unknown) $arr1, (unknown) $arr2 ); 

Parameters (3)

0. $assoc_array (unknown)
The assoc array.
1. $arr1 (unknown)
The arr1.
2. $arr2 (unknown)
The arr2.

Usage

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

Defined (1)

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

/app/helper/class-ms-helper-utility.php  
  1. return apply_filters(