WordPress at Your Fingertips
function is not described

WC_Order_Refund::get_amount() public WC 1.0

Get refunded amount.

{} It's a method of the class: WC_Order_Refund{}

No Hooks.

Return

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'

Code of WC_Order_Refund::get_amount() WC 5.8.0

public function get_amount( $context = 'view' ) {
	return $this->get_prop( 'amount', $context );
}