Automattic\WooCommerce\StoreApi\Routes\V1
CartItemsByKey::get_path_regex
Get the path of this rest route.
Method of the class: CartItemsByKey{}
No Hooks.
Returns
String.
Usage
$result = CartItemsByKey::get_path_regex();
CartItemsByKey::get_path_regex() CartItemsByKey::get path regex code WC 10.8.1
public static function get_path_regex() {
return '/cart/items/(?P<key>[\w-]{32})';
}