Automattic\WooCommerce\StoreApi\Routes\V1
CartApplyCoupon::get_path_regex
Get the path of this rest route.
Method of the class: CartApplyCoupon{}
No Hooks.
Returns
string.
Usage
$result = CartApplyCoupon::get_path_regex();
CartApplyCoupon::get_path_regex() CartApplyCoupon::get path regex code WC 11.0.1
public static function get_path_regex() {
return '/cart/apply-coupon';
}