WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports\Orders

Controller::_get_products() protected WC 1.0

Get products column export value.

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

No Hooks.

Return

String. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->_get_products( $products );
$products(array) (required)
Products from report row.

Code of Controller::_get_products() WC 5.3.0

<?php
protected function _get_products( $products ) {
	$products_list = array();

	foreach ( $products as $product ) {
		$products_list[] = sprintf(
			/* translators: 1: numeric product quantity, 2: name of product */
			__( '%1$s× %2$s', 'woocommerce' ),
			$product['quantity'],
			$product['name']
		);
	}

	return implode( ', ', $products_list );
}