Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / packages/woocommerce-admin/src/Overrides/OrderRefund.php

OrderRefund

Class: WC_Order_Refund subclass.

Source: packages/woocommerce-admin/src/Overrides/OrderRefund.php:17

Used by 0 functions | Uses 1 function

OrderRefund::add_filters()

Method: Add filter(s) required to hook this class to substitute WC_Order_Refund.

Source: packages/woocommerce-admin/src/Overrides/OrderRefund.php:26

Used by 1 function | Uses 0 functions

OrderRefund::order_class_name()

Method: Filter function to swap class WC_Order_Refund for this one in cases when it’s suitable.

Source: packages/woocommerce-admin/src/Overrides/OrderRefund.php:39

Used by 0 functions | Uses 0 functions

OrderRefund::get_report_customer_id()

Method: Get the customer ID of the parent order used for reports in the customer lookup table.

Source: packages/woocommerce-admin/src/Overrides/OrderRefund.php:53

Used by 0 functions | Uses 2 functions

OrderRefund::is_returning_customer()

Method: Returns null since refunds should not be counted towards returning customer counts.

Source: packages/woocommerce-admin/src/Overrides/OrderRefund.php:68

Used by 0 functions | Uses 0 functions
Proudly powered by WordPress