woocommerce_order_get_items filter on get_items()

This commit is contained in:
Matt 2013-02-24 10:00:42 -05:00
parent 9bdb243da0
commit 31b3201a3c
1 changed files with 2 additions and 1 deletions

View File

@ -433,7 +433,8 @@ class WC_Order {
$items[ $item->order_item_id ][ $key ] = $value[0];
}
}
return $items;
return apply_filters( 'woocommerce_order_get_items', $items, $this );
}
/**