woocommerce_quickpay_accepted_callback_status_<type>

The WooCommerce QuickPay woocommerce quickpay accepted callback status type hook.

Description

do_action( 'woocommerce_quickpay_accepted_callback_status_<type>', (unknown) $order, (unknown) $json ); 

Parameters (2)

0. $order (unknown)
The order.
1. $json (unknown)
The json.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'woocommerce_quickpay_accepted_callback_status_{$type}', $order, $json ); 
The following example is for adding a hook callback.
  1. // define the woocommerce_quickpay_accepted_callback_status_<type> callback 
  2. function action_woocommerce_quickpay_accepted_callback_status_type( $order, $json ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( "woocommerce_quickpay_accepted_callback_status_{$type}", 'action_woocommerce_quickpay_accepted_callback_status_type', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( "woocommerce_quickpay_accepted_callback_status_{$type}", 'action_woocommerce_quickpay_accepted_callback_status_type', 10, 2 ); 

Defined (1)

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

/woocommerce-quickpay.php  
  1. do_action('woocommerce_quickpay_accepted_callback_status_' . $transaction->type, $order, $json);