membership_subscription_form_registration_process

The Membership 2 membership subscription form registration process hook.

Description

do_action( 'membership_subscription_form_registration_process', (unknown) $error, (unknown) $user_id ); 

Parameters (2)

0. $error (unknown)
The error.
1. $user_id (unknown)
The user id.

Usage

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

Defined (6)

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

/app_old/membershipincludes/classes/membershippublic.php  
  1. do_action( 'membership_subscription_form_registration_process', $error, $user_id ); 
  1. do_action( 'membership_subscription_form_registration_process', $error, 0 ); 
  1. do_action( 'membership_subscription_form_registration_process', $error, $user_id ); 
  1. do_action( 'membership_subscription_form_registration_process', $error, 0 ); 
/app_old/membershipincludes/classes/membershipadmin.php  
  1. do_action( 'membership_subscription_form_registration_process', $error, $user_id ); 
  1. do_action( 'membership_subscription_form_registration_process', $error, 0 );