Automattic\WooCommerce\StoreApi\Routes\V1

Cart::get_path()publicWC 1.0

Get the path of this REST route.

Метод класса: Cart{}

Хуков нет.

Возвращает

Строку.

Использование

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

Код Cart::get_path() WC 8.7.0

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