WordPress at Your Fingertips
filter is not described

woocommerce_can_restore_order_stock filter-hook . WC 1.0

We need an order, and a store with stock management to continue.

Usage

add_filter( 'woocommerce_can_restore_order_stock', 'filter_function_name_4917', 10, 2 );
function filter_function_name_4917( $true, $order ){
	// filter...

	return $true;
}
$true
-
$order
-

Where the hook is called

wc_increase_stock_levels()
woocommerce_can_restore_order_stock
woocommerce/includes/wc-stock-functions.php 266
if ( ! $order || 'yes' !== get_option( 'woocommerce_manage_stock' ) || ! apply_filters( 'woocommerce_can_restore_order_stock', true, $order ) ) {

Where in WP core the hook is used WooCommerce

Usage not found.