Automattic\WooCommerce\Internal\Admin\Orders

ListTable::get_order_edit_link()privateWC 1.0

Get the edit link for an order.

Метод класса: 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() WC 7.1.0

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