apply_filters( 'llms_transaction_refund_data', array $refund , LLMS_Transaction $transaction , float $amount , string $method )
Filters the stored refund data before saving it.
Parameters Parameters
- $refund
-
(array) An associative array of refund data.
- 'amount'
(float) The refund amount. - 'date'
(string) The refund date in MySQL date format:Y-m-d H:i:s
. - 'id'
(string) The refund ID. - 'method'
(string) The refund method ID.
- 'amount'
- $transaction
-
(LLMS_Transaction) The transaction object.
- $amount
-
(float) The refund amount.
- $method
-
(string) The refund method ID