shopp_order_row_css

called after styling classes are determined for an order row in the orders admin.

add_action('shopp_order_row_css', [callback]);

@param array $classes class names for the order row line
@param Purchase $Purchase the Purchase for the row

Description

Runs after styling classes are determined for row in orders admin. Passed an array of class names and the Order object for the row. Useful for adding additional styles to the row based on information unique to the order.

Example

add_action('shopp_order_row_css', 'my_function', 10, 2);
function my_function ( $classes, $Purchase ) {
// do stuff
}

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar