Improved phpdoc

This commit is contained in:
Cesar Rodas 2017-04-26 02:57:00 -04:00
parent 38f379a7d7
commit d3fd16617c
1 changed files with 3 additions and 1 deletions

View File

@ -780,7 +780,9 @@ abstract class WC_Abstract_Order extends WC_Abstract_Legacy_Order {
}
/**
* Get an order item object, based on it's type.
* Get an order item object, based on it's ID. The item must belong to the current
* order. If the item cannot be found or it doens't belong to current order
* FALSE will be returned.
*
* @since 3.0.0
* @param int $item_id