WordPress at Your Fingertips
filter is not described

woocommerce_get_cancel_order_url filter-hook . WC 1.0

Generates a URL so that a customer can cancel their (unpaid - pending) order.

Usage

add_filter( 'woocommerce_get_cancel_order_url', 'filter_function_name_9174' );
function filter_function_name_9174( $redirect ){
	// filter...

	return $redirect;
}
$redirect(string)
Redirect URL.

Where the hook is called

WC_Order::get_cancel_order_url()
woocommerce_get_cancel_order_url
woocommerce/includes/class-wc-order.php 1618-1632
return apply_filters(
	'woocommerce_get_cancel_order_url',
	wp_nonce_url(
		add_query_arg(
			array(
				'cancel_order' => 'true',
				'order'        => $this->get_order_key(),
				'order_id'     => $this->get_id(),
				'redirect'     => $redirect,
			),
			$this->get_cancel_endpoint()
		),
		'woocommerce-cancel_order'
	)
);

Where in WP core the hook is used WooCommerce

Usage not found.