woocommerce_get_edit_order_url filter-hookWC 3.3.0

Filter the URL to edit the order in the backend.

Usage

add_filter( 'woocommerce_get_edit_order_url', 'wp_kama_woocommerce_get_edit_order_url_filter', 10, 2 );

/**
 * Function for `woocommerce_get_edit_order_url` filter-hook.
 * 
 * @param  $edit_url 
 * @param  $that     
 *
 * @return 
 */
function wp_kama_woocommerce_get_edit_order_url_filter( $edit_url, $that ){

	// filter...
	return $edit_url;
}
$edit_url
-
$that
-

Changelog

Since 3.3.0 Introduced.

Where the hook is called

WC_Order::get_edit_order_url()
woocommerce_get_edit_order_url
woocommerce/includes/class-wc-order.php 1922
return apply_filters( 'woocommerce_get_edit_order_url', $edit_url, $this );

Where the hook is used in WooCommerce

Usage not found.