Automattic\WooCommerce\Admin\Overrides
Order::get_report_customer_id()
Get the customer ID used for reports in the customer lookup table.
Method of the class: Order{}
No Hooks.
Return
Int
.
Usage
$Order = new Order(); $Order->get_report_customer_id();
Order::get_report_customer_id() Order::get report customer id code WC 9.7.1
public function get_report_customer_id() { if ( is_null( $this->customer_id ) ) { $this->customer_id = CustomersDataStore::get_or_create_customer_from_order( $this ); } return $this->customer_id; }