Automattic\WooCommerce\StoreApi\Routes\V1
CartCoupons::get_path_regex
Get the path of this rest route.
Метод класса: CartCoupons{}
Хуков нет.
Возвращает
string.
Использование
$result = CartCoupons::get_path_regex();
Код CartCoupons::get_path_regex() CartCoupons::get path regex WC 11.1.0
public static function get_path_regex() {
return '/cart/coupons';
}