edd_set_payment_transaction_id( int $payment_id, string $transaction_id = '' )
Sets a Transaction ID in post meta for the given Payment ID
Description Description
Parameters Parameters
- $payment_id
-
(Required) Payment ID
- $transaction_id
-
(Optional) The transaction ID from the gateway
Default value: ''
Return Return
(mixed) Meta ID if successful, false if unsuccessful
Source Source
File: includes/payments/functions.php
Changelog Changelog
Version | Description |
---|---|
2.1 | Introduced. |