WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Admin\API\Reports\Orders

Controller::get_customer_name() protected WC 1.0

Get customer name column export value.

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

No Hooks.

Return

String.

Usage

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

Code of Controller::get_customer_name() WC 6.1.1

protected function get_customer_name( $customer ) {
	return $customer['first_name'] . ' ' . $customer['last_name'];
}