WordPress at Your Fingertips
function is not described

WC_Order_Refund::get_refunded_by() public WC 3.0

Get ID of user who did the refund.

{} It's a 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.

Code of WC_Order_Refund::get_refunded_by() WC 5.8.0

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