membership_ping_constants_list

The Membership 2 membership ping constants list hook.

Description

apply_filters( 'membership_ping_constants_list', (unknown) $this_pingconstants ); 

Parameters (1)

0. $this_pingconstants (unknown)
The this pingconstants.

Usage

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

Defined (2)

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

/app_old/membershipincludes/classes/class.ping.php  
  1. echo implode('<br/>', array_keys(apply_filters('membership_ping_constants_list', $this->pingconstants)) ); 
  1. echo implode('<br/>', array_keys(apply_filters('membership_ping_constants_list', $this->pingconstants)) );