Status_Access
Status access settings class.
Description #
The class requires to be used in a function hooked to the learndash_loaded action at the earliest as it uses the LearnDash settings and sections API.
Source #
File: includes/woocommerce/src/App/Settings/Status_Access.php
Changelog #
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |
Methods #
- get_access_denied_order_statuses — Get access denied order statuses specified in the settings.
- get_access_denied_subscription_statuses — Get access denied subscription statuses specified in the settings.
- get_access_granted_order_statuses — Get access granted order statuses specified in the settings.
- get_access_granted_subscription_statuses — Get access granted subscription statuses specified in the settings.
- is_access_removal_disabled_on_expiration — Whether course access is kept when a subscription expires.