WC_Order_Refund::get_refunded_by()publicWC 3.0

Get ID of user who did the refund.

Method of the class: WC_Order_Refund{}

No Hooks.

Return

Int.

Usage

$WC_Order_Refund = new WC_Order_Refund();
$WC_Order_Refund->get_refunded_by( $context );
$context(string)
What the value is for. Valid values are view and edit.
Default: 'view'

Changelog

Since 3.0 Introduced.

WC_Order_Refund::get_refunded_by() code WC 8.7.0

public function get_refunded_by( $context = 'view' ) {
	return $this->get_prop( 'refunded_by', $context );
}