llms_get_enrollment_statuses()
Get a list of available course / membership enrollment statuses
Return Return
(array)
Source Source
File: includes/llms.functions.core.php
*/ function llms_get_enrollment_statuses() { /** * Filter the enrollment statuses * * @since 3.0.0 * * @param array $enrollment_statuses An associative array representing the enrollment statuses. Keys are the statuses, values are their human readable labels (names). */ return apply_filters( 'llms_get_enrollment_statuses', array( 'cancelled' => __( 'Cancelled', 'lifterlms' ), 'enrolled' => __( 'Enrolled', 'lifterlms' ), 'expired' => __( 'Expired', 'lifterlms' ), ) );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |