Automattic\WooCommerce\Admin\Overrides

OrderRefund::add_filters()public staticWC 1.0

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

Method of the class: OrderRefund{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = OrderRefund::add_filters();

OrderRefund::add_filters() code WC 8.6.1

public static function add_filters() {
	add_filter( 'woocommerce_order_class', array( __CLASS__, 'order_class_name' ), 10, 3 );
}