WordPress at Your Fingertips
filter is not described

woocommerce_order_class filter-hook . WC 1.0

Filter classname so that the class can be overridden if extended.

Usage

add_filter( 'woocommerce_order_class', 'filter_function_name_2496', 10, 3 );
function filter_function_name_2496( $classname, $order_type, $order_id ){
	// filter...

	return $classname;
}
$classname
-
$order_type
-
$order_id
-

Where the hook is called

WC_Order_Factory::get_order()
woocommerce_order_class
woocommerce/includes/class-wc-order-factory.php 40
$classname = apply_filters( 'woocommerce_order_class', $classname, $order_type, $order_id );

Where in WP core the hook is used WooCommerce

woocommerce/packages/woocommerce-admin/src/Overrides/Order.php 75
add_filter( 'woocommerce_order_class', array( __CLASS__, 'order_class_name' ), 10, 3 );
woocommerce/packages/woocommerce-admin/src/Overrides/OrderRefund.php 27
add_filter( 'woocommerce_order_class', array( __CLASS__, 'order_class_name' ), 10, 3 );