woocommerce_recorded_sales action-hook . WC 1.0
Called when sales for an order are recorded
Usage
add_action( 'woocommerce_recorded_sales', 'action_function_name_8485' ); function action_function_name_8485( $order_id ){ // action... }
- $order_id(int)
- order id
Where the hook is called
woocommerce_recorded_sales
woocommerce/includes/wc-order-functions.php 840
do_action( 'woocommerce_recorded_sales', $order_id );