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.

$transaction

(LLMS_Transaction) The transaction object.

$amount

(float) The refund amount.

$method

(string) The refund method ID


Top ↑

Source Source

File: includes/models/model.llms.transaction.php

View on GitHub



Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.