filter output apart from count
This commit is contained in:
parent
6af23e09bf
commit
0004a20add
|
@ -472,7 +472,7 @@ class WC_Admin_Post_Types {
|
|||
break;
|
||||
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 ) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue