WordPress at a glance
filter is not described

woocommerce_can_restock_refunded_items filter-hook . WC 3.0.0

Restock items during refund.

Usage

add_filter( 'woocommerce_can_restock_refunded_items', 'filter_function_name_1685', 10, 2 );
function filter_function_name_1685( $order, $refunded_line_items ){
	// filter...

	return $order;
}
$order(WC_Order)
Order instance.
$refunded_line_items
-

Changelog

Since 3.0.0 Introduced.

Where the hook is called

wc_restock_refunded_items()
woocommerce_can_restock_refunded_items
woocommerce/includes/wc-order-functions.php 692
if ( ! apply_filters( 'woocommerce_can_restock_refunded_items', true, $order, $refunded_line_items ) ) {

Where in WP core the hook is used WooCommerce

Usage not found.