woocommerce_restock_refunded_item, $product->get_id(

woocommerce_restock_refunded_item, $product->get_id(

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_restock_refunded_item, $product->get_id(') is found 1 times:

  • /includes/wc-order-functions.php line 860
    		$order->add_order_note( $restock_note, false, false, array( 'note_group' => OrderNoteGroup::PRODUCT_STOCK ) );
    
    		$item->save();
    
    		do_action( 'woocommerce_restock_refunded_item', $product->get_id(), $old_stock, $new_stock, $order, $product );
    	}
    }
    
    /**
     * Get tax class by tax id.
     *