Update documentation in class-wc-order-item-product.php (#41160)
* Update class-wc-order-item-product.php * Changelog. * Fix alignment. --------- Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
This commit is contained in:
parent
06dc19ebd4
commit
d8e01b23cd
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
|
||||
Update item subtotal and total inline docs.
|
|
@ -269,7 +269,8 @@ class WC_Order_Item_Product extends WC_Order_Item {
|
|||
}
|
||||
|
||||
/**
|
||||
* Get subtotal.
|
||||
* Gets the item subtotal. This is the price of the item times the quantity
|
||||
* excluding taxes before coupon discounts.
|
||||
*
|
||||
* @param string $context What the value is for. Valid values are 'view' and 'edit'.
|
||||
* @return string
|
||||
|
@ -289,7 +290,8 @@ class WC_Order_Item_Product extends WC_Order_Item {
|
|||
}
|
||||
|
||||
/**
|
||||
* Get total.
|
||||
* Gets the item total. This is the price of the item times the quantity
|
||||
* excluding taxes after coupon discounts.
|
||||
*
|
||||
* @param string $context What the value is for. Valid values are 'view' and 'edit'.
|
||||
* @return string
|
||||
|
|
Loading…
Reference in New Issue