llms_get_enrollment_status_name( string $status )
Get the human readable (and translated) name of an enrollment status
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 ]; } /** * Filter the enrollment status name * * @since Unknown * * @param array $enrollment_status The enrollment status name. */ 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.6.0 | Unknown. |
3.0.0 | Introduced. |