filter output apart from count

This commit is contained in:
Manos Psychogyiopoulos 2014-06-12 11:53:39 +03:00
parent 6af23e09bf
commit 0004a20add
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ class WC_Admin_Post_Types {
break; break;
case 'order_items' : case 'order_items' :
printf( '<a href="#" class="show_order_items">' . _n( '%d item', '%d items', $the_order->get_item_count(), 'woocommerce' ) . '</a>', $the_order->get_item_count() ); echo '<a href="#" class="show_order_items">' . apply_filters( 'woocommerce_order_item_count', sprintf( _n( '%d item', '%d items', $the_order->get_item_count(), 'woocommerce' ), $the_order->get_item_count() ), $the_order ) . '</a>';
if ( sizeof( $the_order->get_items() ) > 0 ) { if ( sizeof( $the_order->get_items() ) > 0 ) {