Automattic\WooCommerce\StoreApi\Routes\V1
Order::get_path_regex
Get the path of this rest route.
Method of the class: Order{}
No Hooks.
Returns
string.
Usage
$result = Order::get_path_regex();
Order::get_path_regex() Order::get path regex code WC 11.3.0
public static function get_path_regex() {
return '/order/(?P<id>[\d]+)';
}