WC_Order_Refund::get_refund_reason()
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 reason.
Method of the class: WC_Order_Refund{}
No Hooks.
Return
String
.
Usage
$WC_Order_Refund = new WC_Order_Refund(); $WC_Order_Refund->get_refund_reason();
Changelog
Deprecated since | 3.0 |
WC_Order_Refund::get_refund_reason() WC Order Refund::get refund reason code WC 9.8.2
public function get_refund_reason() { wc_deprecated_function( 'get_refund_reason', '3.0', 'get_reason' ); return $this->get_reason(); }