woocommerce_restock_refunded_item action-hookWC 1.0

Usage

add_action( 'woocommerce_restock_refunded_item', 'wp_kama_woocommerce_restock_refunded_item_action', 10, 5 );

/**
 * Function for `woocommerce_restock_refunded_item` action-hook.
 * 
 * @param  $product_id 
 * @param  $old_stock  
 * @param  $new_stock  
 * @param  $order      
 * @param  $product    
 *
 * @return void
 */
function wp_kama_woocommerce_restock_refunded_item_action( $product_id, $old_stock, $new_stock, $order, $product ){

	// action...
}
$product_id
-
$old_stock
-
$new_stock
-
$order
-
$product
-

Where the hook is called

wc_restock_refunded_items()
woocommerce_restock_refunded_item
woocommerce/includes/wc-order-functions.php 784
do_action( 'woocommerce_restock_refunded_item', $product->get_id(), $old_stock, $new_stock, $order, $product );

Where the hook is used in WooCommerce

Usage not found.