WC_Order_Refund::get_refund_reasonpublicWC 1.0

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 reason.

Method of the class: WC_Order_Refund{}

No Hooks.

Returns

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() code WC 10.6.2

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