filter name change

This commit is contained in:
Manos Psychogyiopoulos 2014-06-12 14:51:23 +03:00
parent 0004a20add
commit cb75dcf699
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ class WC_Admin_Post_Types {
break;
case 'order_items' :
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>';
echo '<a href="#" class="show_order_items">' . apply_filters( 'woocommerce_admin_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 ) {