WC_Order_Refund::get_refunded_by()
Get ID of user who did the refund.
Метод класса: WC_Order_Refund{}
Хуков нет.
Возвращает
int
.
Использование
$WC_Order_Refund = new WC_Order_Refund(); $WC_Order_Refund->get_refunded_by( $context );
- $context(строка)
- What the value is for. Valid values are view and edit.
По умолчанию: 'view'
Список изменений
С версии 3.0 | Введена. |
Код WC_Order_Refund::get_refunded_by() WC Order Refund::get refunded by WC 9.4.2
public function get_refunded_by( $context = 'view' ) { return $this->get_prop( 'refunded_by', $context ); }