woocommerce_admin_html_order_preview_item_class

woocommerce_admin_html_order_preview_item_class

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_admin_html_order_preview_item_class') is found 1 times:

  • /includes/admin/list-tables/class-wc-admin-list-table-orders.php line 289
     
    		foreach ( $line_items as $item_id => $item ) {
    
    			$product_object = is_callable( array( $item, 'get_product' ) ) ? $item->get_product() : null;
    			$row_class      = apply_filters( 'woocommerce_admin_html_order_preview_item_class', '', $item, $order );
    
    			$html .= '<tr class="wc-order-preview-table__item wc-order-preview-table__item--' . esc_attr( $item_id ) . ( $row_class ? ' ' . esc_attr( $row_class ) : '' ) . '">';
    
    			foreach ( $columns as $column => $label ) {
    				$html .= '<td class="wc-order-preview-table__column--' . esc_attr( $column ) . '">';
    				switch ( $column ) {