membership_payment_subscr_signup

The Membership 2 membership payment subscr signup hook.

Description

do_action( 'membership_payment_subscr_signup', (unknown) $user_id, (unknown) $sub_id ); 

Parameters (2)

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

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'membership_payment_subscr_signup', $user_id, $sub_id ); 
The following example is for adding a hook callback.
  1. // define the membership_payment_subscr_signup callback 
  2. function action_membership_payment_subscr_signup( $user_id, $sub_id ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'membership_payment_subscr_signup', 'action_membership_payment_subscr_signup', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'membership_payment_subscr_signup', 'action_membership_payment_subscr_signup', 10, 2 ); 

Defined (10)

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

/app_old/membershipincludes/gateways/gateway.paypalsolo.php  
  1. do_action('membership_payment_subscr_signup', $user_id, $sub_id); 
  1. do_action('membership_payment_subscr_signup', $user_id, $sub_id); 
/app_old/membershipincludes/gateways/gateway.paypalexpress.php  
  1. do_action('membership_payment_subscr_signup', $user_id, $sub_id); 
  1. do_action('membership_payment_subscr_signup', $user_id, $sub_id); 
/app_old/membershipincludes/gateways/gateway.freesubscriptions.php  
  1. do_action('membership_payment_subscr_signup', $user_id, $sub_id); 
/app_old/membershipincludes/classes/membershippublic.php  
  1. do_action('membership_payment_subscr_signup', $user_id, $sub_id); 
  1. do_action('membership_payment_subscr_signup', $user_id, $sub_id); 
  1. do_action('membership_payment_subscr_signup', $user_id, $sub_id); 
  1. do_action('membership_payment_subscr_signup', $user_id, $sub_id); 
/app_old/membershipincludes/classes/class.gateway.php  
  1. do_action('membership_payment_subscr_signup', $user_id, $sub_id);