WC_Order_Refund::get_refund_amount()publicWC 1.0

Deprecated from version 3.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Get refund amount.

Method of the class: WC_Order_Refund{}

No Hooks.

Return

Int|float.

Usage

$WC_Order_Refund = new WC_Order_Refund();
$WC_Order_Refund->get_refund_amount();

Changelog

Deprecated since 3.0

WC_Order_Refund::get_refund_amount() code WC 8.7.0

public function get_refund_amount() {
	wc_deprecated_function( 'get_refund_amount', '3.0', 'get_amount' );
	return $this->get_amount();
}