WordPress at Your Fingertips
function is not described

WC_Order::get_edit_order_url() public WC 3.3.0

Get's the URL to edit the order in the backend.

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

Hooks from the method

Return

String.

Usage

$WC_Order = new WC_Order();
$WC_Order->get_edit_order_url();

Changelog

Since 3.3.0 Introduced.

Code of WC_Order::get_edit_order_url() WC 5.8.0

public function get_edit_order_url() {
	return apply_filters( 'woocommerce_get_edit_order_url', get_admin_url( null, 'post.php?post=' . $this->get_id() . '&action=edit' ), $this );
}