_edd_anonymize_payment( int $payment_id )
Given a payment ID, anonymize the data related to that payment.
Description Description
Only the payment record is affected in this function. The data that is changed:
- First Name is made blank
- Last Name is made blank
- All email addresses are converted to the anonymized email address on the customer
- The IP address is run to only be the /24 IP Address (ending in .0) so it cannot be traced back to a user
- Address line 1 is made blank
- Address line 2 is made blank
Parameters Parameters
- $payment_id
-
(Required)
Return Return
(array)
Source Source
File: includes/privacy-functions.php