public/wordpress/wp-content/plugins/wp-courseware/includes/functions/subscriptions.php
/**
 * Get the nice name for a subscription status.
 *
 * @since 4.3.0
 *
 * @param string $status The subscription status.
 *
 * @return string
 */
Get the nice name for a subscription status.

@param string $status The subscription status.

@return string
Get the nice name for a subscription status . @param string $status The subscription status . @return string
function wpcw_get_subscription_status_name( $status ) {
	$statuses = wpcw()->subscriptions->get_statuses();
	return isset( $statuses[ $status ] ) ? $statuses[ $status ] : $status;
}
function wpcw_get_subscription_status_name ( $ status ) { $ statuses = wpcw ( ) -> subscriptions -> get_statuses ( ) ; return isset ( $ statuses [ $ status ] ) ? $ statuses [ $ status ] : $ status ; }
Get the nice name for a subscription status.
Get the nice name for a subscription status .