WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports

Controller::get_order_status_labels() public WC 1.0

Get order statuses (and labels) without prefixes.

{} It's a method of the class: Controller{}

No Hooks.

Return

Array. Nothing.

Usage

$result = Controller::get_order_status_labels();

Code of Controller::get_order_status_labels() WC 5.2.2

<?php
public static function get_order_status_labels() {
	$order_statuses = array();

	foreach ( wc_get_order_statuses() as $key => $label ) {
		$new_key                    = str_replace( 'wc-', '', $key );
		$order_statuses[ $new_key ] = $label;
	}

	return $order_statuses;
}