ms_gateway_authorize_save_cim_profile

The Membership 2 ms gateway authorize save cim profile hook.

Description

do_action( 'ms_gateway_authorize_save_cim_profile', (unknown) $member, (unknown) $cim_profile_id, (unknown) $cim_payment_profile_id, (unknown) $instance ); 

Parameters (4)

0. $member (unknown)
The member.
1. $cim_profile_id (unknown)
The cim profile id.
2. $cim_payment_profile_id (unknown)
The cim payment profile id.
3. $instance (unknown)
The this.

Usage

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

Defined (1)

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

/app/gateway/authorize/class-ms-gateway-authorize.php  
  1. do_action(