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