gocodebox / lifterlms-rest

LifterLMS REST API Feature Plugin
6 stars 7 forks source link

access plan `checkout_redirect_forced` property not included in REST resource #270

Closed thomasplevy closed 2 years ago

thomasplevy commented 2 years ago

The checkout_redirect_forced is used for access plans that have at least one membership restriction. When checked, it forces the course's redirection setting to be used (in favor of the membership) during checkout.

You can see it used here in the existing admin ui: https://github.com/gocodebox/lifterlms/blob/604c945a603e53c832dc14d990595bf0cb7870c9/includes/admin/views/access-plans/access-plan.php#L437-L441

thomasplevy commented 2 years ago

I'm wrong, it's redirect_forced