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