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