llms_get_enrollment_status_name( string $status )
Get the human readable (and translated) name of an enrollment status
Description Description
Parameters Parameters
- $status
-
(string) (Required) enrollment status key
Return Return
(string)
Source Source
File: includes/llms.functions.core.php
function llms_get_enrollment_status_name( $status ) { $status = strtolower( $status ); // backwards compatibility $statuses = llms_get_enrollment_statuses(); if ( is_array( $statuses ) && isset( $statuses[ $status ] ) ) { $status = $statuses[ $status ]; } return apply_filters( 'lifterlms_get_enrollment_status_name', $status ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: