WordPress at a glance
function is not described

WC_Order::get_cancel_order_url_raw() public WC 1.0

Generates a raw (unescaped) cancel-order URL for use by payment gateways.

{} It's a method of the class: WC_Order{}

Hooks from the method
Return

String. The unescaped cancel-order URL.

Usage

$WC_Order = new WC_Order();
$WC_Order->get_cancel_order_url_raw( $redirect );
$redirect(string)
Redirect URL.

Code of WC_Order::get_cancel_order_url_raw() WC 5.0.0

<?php
public function get_cancel_order_url_raw( $redirect = '' ) {
	return apply_filters(
		'woocommerce_get_cancel_order_url_raw',
		add_query_arg(
			array(
				'cancel_order' => 'true',
				'order'        => $this->get_order_key(),
				'order_id'     => $this->get_id(),
				'redirect'     => $redirect,
				'_wpnonce'     => wp_create_nonce( 'woocommerce-cancel_order' ),
			),
			$this->get_cancel_endpoint()
		)
	);
}