Automattic\WooCommerce\StoreApi\Routes\V1

Order::get_path_regexpublic staticWC 1.0

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() code WC 9.9.5

public static function get_path_regex() {
	return '/order/(?P<id>[\d]+)';
}