WC_Order_Refund::get_refunded_payment( string $context = 'view' )
Return if the payment was refunded via API.
Description Description
Parameters Parameters
- $context
-
(Optional) What the value is for. Valid values are view and edit.
Default value: 'view'
Return Return
(bool)
Source Source
File: includes/class-wc-order-refund.php
public function get_refunded_payment( $context = 'view' ) { return $this->get_prop( 'refunded_payment', $context ); }
Changelog Changelog
Version | Description |
---|---|
3.3 | Introduced. |