LLMS_Order::get_customer_name()

Retrieve the customer’s full name


Return Return

(string)


Top ↑

Source Source

File: includes/models/model.llms.order.php

	public function get_customer_name() {
		if ( 'yes' === $this->get( 'anonymized' ) ) {
			return __( 'Anonymous', 'lifterlms' );
		}
		return trim( $this->get( 'billing_first_name' ) . ' ' . $this->get( 'billing_last_name' ) );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.18.0 Unknown.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.