Automattic\WooCommerce\Admin\Overrides
Order::is_returning_customer()
Returns true if the customer has made an earlier order.
Method of the class: Order{}
No Hooks.
Return
true|false
.
Usage
$Order = new Order(); $Order->is_returning_customer();
Order::is_returning_customer() Order::is returning customer code WC 8.7.0
public function is_returning_customer() { return OrdersStatsDataStore::is_returning_customer( $this, $this->get_report_customer_id() ); }