edd_get_payment_notes( int $payment_id, string $search = '' )
Retrieve all notes attached to a purchase
Description Description
Parameters Parameters
- $payment_id
-
(Required) The payment ID to retrieve notes for
- $search
-
(Optional) Search for notes that contain a search term
Default value: ''
Return Return
(array) $notes Payment Notes
Source Source
File: includes/payments/functions.php
Changelog Changelog
Version | Description |
---|---|
1.4 | Introduced. |