WC_Order_Refund::get_refund_reason()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 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() code WC 8.7.0

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