WC_Order_Refund::get_refund_amount
Deprecated since 3.0. It is no longer supported and may 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.
Returns
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() WC Order Refund::get refund amount code WC 10.3.6
public function get_refund_amount() {
wc_deprecated_function( 'get_refund_amount', '3.0', 'get_amount' );
return $this->get_amount();
}