woocommerce_checkout_order_processed

The PayPal for WooCommerce woocommerce checkout order processed hook.

Description

do_action( 'woocommerce_checkout_order_processed', (unknown) $order_id, (unknown) $this_posted ); 

Parameters (2)

0. $order_id (unknown)
The order id.
1. $this_posted (unknown)
The this posted.

Usage

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

Defined (3)

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

/classes/wc-gateway-paypal-express-angelleye.php  
  1. do_action('woocommerce_checkout_order_processed', $order_id, $this->posted); 
  1. do_action('woocommerce_checkout_order_processed', $order_id, $this->posted); 
/angelleye-includes/angelleye-utility.php  
  1. do_action('woocommerce_checkout_order_processed', $order_id, $posted = array());