WC_Order_Item_Product::get_subtotal() public WC 1.0
Get subtotal.
{} Это метод класса: WC_Order_Item_Product{}
Хуков нет.
Возвращает
Строку.
Использование
$WC_Order_Item_Product = new WC_Order_Item_Product(); $WC_Order_Item_Product->get_subtotal( $context );
- $context(строка)
- What the value is for. Valid values are 'view' and 'edit'.
Код WC_Order_Item_Product::get_subtotal() WC Order Item Product::get subtotal WC 5.0.0
public function get_subtotal( $context = 'view' ) {
return $this->get_prop( 'subtotal', $context );
}