OrderRefund

WC_Order_Refund subclass.


Description Description


Source Source

File: packages/woocommerce-admin/src/Overrides/OrderRefund.php




Top ↑

Methods Methods

  • add_filters — Add filter(s) required to hook this class to substitute WC_Order_Refund.
  • get_report_customer_id — Get the customer ID of the parent order used for reports in the customer lookup table.
  • is_returning_customer — Returns null since refunds should not be counted towards returning customer counts.
  • order_class_name — Filter function to swap class WC_Order_Refund for this one in cases when it's suitable.

Top ↑

User Contributed Notes User Contributed Notes

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