llms_get_order_status_name( string $status )

Get the human readable status for a LifterLMS status.


Parameters Parameters

$status

(string) (Required) LifterLMS Order Status.


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/functions/llms.functions.order.php

function llms_get_order_status_name( $status ) {
	$statuses = llms_get_order_statuses();
	if ( is_array( $statuses ) && isset( $statuses[ $status ] ) ) {
		$status = $statuses[ $status ];
	}
	return apply_filters( 'lifterlms_get_order_status_name', $status );
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.6.0 Unknown.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.