_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)


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/privacy-functions.php


			

Top ↑

User Contributed Notes User Contributed Notes

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