woocommerce_recorded_sales

woocommerce_recorded_sales

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('woocommerce_recorded_sales') is found 1 times:

  • /includes/wc-order-functions.php line 937
    	 * Called when sales for an order are recorded
    	 *
    	 * @param int $order_id order id
    	 */
    	do_action( 'woocommerce_recorded_sales', $order_id );
    }
    add_action( 'woocommerce_order_status_completed', 'wc_update_total_sales_counts' );
    add_action( 'woocommerce_order_status_processing', 'wc_update_total_sales_counts' );
    add_action( 'woocommerce_order_status_on-hold', 'wc_update_total_sales_counts' );
    add_action( 'woocommerce_order_status_completed_to_cancelled', 'wc_update_total_sales_counts' );
    add_action( 'woocommerce_order_status_processing_to_cancelled', 'wc_update_total_sales_counts' );