Automattic\WooCommerce\Internal\Admin\Orders

ListTable::get_order_edit_link()privateWC 1.0

Get the edit link for an order.

Method of the class: ListTable{}

No Hooks.

Return

String. Edit link for the order.

Usage

// private - for code of main (parent) class only
$result = $this->get_order_edit_link( $order ): string;
$order(WC_Order) (required)
Order object.

ListTable::get_order_edit_link() code WC 8.9.0

private function get_order_edit_link( WC_Order $order ): string {
	return $this->page_controller->get_edit_url( $order->get_id() );
}