Automattic\WooCommerce\Utilities
OrderUtil::get_order_admin_new_url()
Helper method to generate admin URL for new order.
Method of the class: OrderUtil{}
No Hooks.
Return
String
. Link for new order.
Usage
$result = OrderUtil::get_order_admin_new_url() : string;
OrderUtil::get_order_admin_new_url() OrderUtil::get order admin new url code WC 9.4.2
public static function get_order_admin_new_url() : string { return wc_get_container()->get( PageController::class )->get_new_page_url(); }