WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports

DataStore::normalize_order_status() protected WC 1.0

Maps order status provided by the user to the one used in the database.

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

No Hooks.

Return

String. Nothing.

Usage

$result = DataStore::normalize_order_status( $status );
$status(string) (required)
Order status.

Code of DataStore::normalize_order_status() WC 5.3.0

<?php
protected static function normalize_order_status( $status ) {
	$status = trim( $status );
	return 'wc-' . $status;
}