LLMS_Order::get_customer_name()
Retrieve the customer’s full name
Contents
Return Return
(string)
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' ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.18.0 | Unknown. |
| 3.0.0 | Introduced. |