Order
WC_Order subclass.
Description Description
Source Source
File: packages/woocommerce-admin/src/Overrides/Order.php
Methods Methods
- add_filters — Add filter(s) required to hook this class to substitute WC_Order.
- get_customer_first_name — Get the customer's first name.
- get_customer_last_name — Get the customer's last name.
- get_data_without_line_items — Get only core class data in array format.
- get_line_item_data — Get order line item data by type.
- get_report_customer_id — Get the customer ID used for reports in the customer lookup table.
- is_returning_customer — Returns true if the customer has made an earlier order.
- order_class_name — Filter function to swap class WC_Order for this one in cases when it's suitable.