@automattic/wpcom-checkout
Version:
Functions and components used by WordPress.com checkout.
11 lines • 376 B
JavaScript
/**
* Get Partner Coupon
*
* This method uses some of the same detection logic as partnerCouponRedirects in
* the Connection controller, and future improvements should probably unify the two
* code bases to "generic utility functions".
*/
export function getPartnerCoupon({ coupon }) {
return coupon.startsWith('IONOS_');
}
//# sourceMappingURL=partner-coupon.js.map