WordPress at a glance
filter is not described

woocommerce_valid_order_statuses_for_cancel filter-hook . WC 1.0

Usage

add_filter( 'woocommerce_valid_order_statuses_for_cancel', 'filter_function_name_7838', 10, 2 );
function filter_function_name_7838( $array, $order ){
	// filter...

	return $array;
}
$array
-
$order
-

Where the hook is called

WC_Form_Handler::cancel_order()
woocommerce_valid_order_statuses_for_cancel
wc_get_account_orders_actions()
woocommerce_valid_order_statuses_for_cancel
woocommerce/includes/class-wc-form-handler.php 737
$order_can_cancel = $order->has_status( apply_filters( 'woocommerce_valid_order_statuses_for_cancel', array( 'pending', 'failed' ), $order ) );
woocommerce/includes/wc-account-functions.php 298
if ( ! in_array( $order->get_status(), apply_filters( 'woocommerce_valid_order_statuses_for_cancel', array( 'pending', 'failed' ), $order ), true ) ) {

Where in WP core the hook is used WooCommerce

Usage not found.