Automattic\WooCommerce\StoreApi\Routes\V1

CartItemsByKey::get_path()publicWC 1.0

Get the path of this REST route.

Method of the class: CartItemsByKey{}

No Hooks.

Return

String.

Usage

$CartItemsByKey = new CartItemsByKey();
$CartItemsByKey->get_path();

CartItemsByKey::get_path() code WC 8.7.0

public function get_path() {
	return '/cart/items/(?P<key>[\w-]{32})';
}