membership_subscriptionform_signedup

The Membership 2 membership subscriptionform signedup hook.

Description

apply_filters( 'membership_subscriptionform_signedup', (unknown) $content, (unknown) $user_id, (unknown) $sub_id ); 

Parameters (3)

0. $content (unknown)
The content.
1. $user_id (unknown)
The user id.
2. $sub_id (unknown)
The sub id.

Usage

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

Defined (3)

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

/app_old/membershipincludes/gateways/gateway.paypalsolo.php  
  1. $content = apply_filters('membership_subscriptionform_signedup', $content, $user_id, $sub_id); 
/app_old/membershipincludes/gateways/gateway.freesubscriptions.php  
  1. $content = apply_filters('membership_subscriptionform_signedup', $content, $user_id, $sub_id); 
/app_old/membershipincludes/classes/class.gateway.php  
  1. $content = apply_filters('membership_subscriptionform_signedup', $content, $user_id, $sub_id);