WC_Order_Refund::get_amount
Get refunded amount.
Method of the class: WC_Order_Refund{}
No Hooks.
Returns
Int|float.
Usage
$WC_Order_Refund = new WC_Order_Refund(); $WC_Order_Refund->get_amount( $context );
- $context(string)
- What the value is for. Valid values are view and edit.
Default: 'view'
WC_Order_Refund::get_amount() WC Order Refund::get amount code WC 10.3.6
public function get_amount( $context = 'view' ) {
return $this->get_prop( 'amount', $context );
}