WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports

DataStore::get_excluded_report_order_statuses() protected WC 1.0

Get the excluded order statuses used when calculating reports.

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

Return

Array. Nothing.

Usage

$result = DataStore::get_excluded_report_order_statuses();

Code of DataStore::get_excluded_report_order_statuses() WC 5.3.0

<?php
protected static function get_excluded_report_order_statuses() {
	$excluded_statuses = \WC_Admin_Settings::get_option( 'woocommerce_excluded_report_order_statuses', array( 'pending', 'failed', 'cancelled' ) );
	$excluded_statuses = array_merge( array( 'trash' ), $excluded_statuses );
	return apply_filters( 'woocommerce_analytics_excluded_order_statuses', $excluded_statuses );
}