Automattic\WooCommerce\StoreApi\Routes\V1

CartCoupons::get_path_regexpublic staticWC 1.0

Get the path of this rest route.

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

Хуков нет.

Возвращает

string.

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

$result = CartCoupons::get_path_regex();

Код CartCoupons::get_path_regex() WC 11.1.0

public static function get_path_regex() {
	return '/cart/coupons';
}