WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Overrides

Order::get_customer_last_name() public WC 1.0

Get the customer's last name.

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

No Hooks.

Return

null. Nothing.

Usage

$Order = new Order();
$Order->get_customer_last_name();

Code of Order::get_customer_last_name() WC 5.3.0

<?php
public function get_customer_last_name() {
	if ( $this->get_user_id() ) {
		return get_user_meta( $this->get_user_id(), 'last_name', true );
	}

	if ( '' !== $this->get_billing_last_name( 'edit' ) ) {
		return $this->get_billing_last_name( 'edit' );
	} else {
		return $this->get_shipping_last_name( 'edit' );
	}
}