woocommerce_reduce_order_stock
Usage
add_action( 'woocommerce_reduce_order_stock', 'wp_kama_woocommerce_reduce_order_stock_action' ); /** * Function for `woocommerce_reduce_order_stock` action-hook. * * @param $order * * @return void */ function wp_kama_woocommerce_reduce_order_stock_action( $order ){ // action... }
- $order
- -
Where the hook is called
woocommerce_reduce_order_stock
woocommerce/includes/wc-stock-functions.php 230
do_action( 'woocommerce_reduce_order_stock', $order );