Automattic\WooCommerce\StoreApi\Routes\V1

CartAddItem::get_path()publicWC 1.0

Get the path of this REST route.

Method of the class: CartAddItem{}

No Hooks.

Return

String.

Usage

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

CartAddItem::get_path() code WC 8.7.0

public function get_path() {
	return '/cart/add-item';
}