Automattic\WooCommerce\Admin\Overrides

Order::add_filters()public staticWC 1.0

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

Method of the class: Order{}

No Hooks.

Return

null. Nothing.

Usage

$result = Order::add_filters();

Order::add_filters() code WC 7.3.0

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