apply_filters( 'edd_should_anonymize_payment', array )

Determines if this payment should be allowed to be anonymized.


Description Description

Developers and extensions can use this filter to make it possible to not anonymize a payment. A sample use case would be if the payment is pending orders, and the payment requires shipping, anonymizing the payment may not be ideal.


Parameters Parameters

Contains data related to if the anonymization should take place

  • 'should_anonymize'
    (bool) If the payment should be anonymized.
  • 'message'
    (string) A message to display if the customer could not be anonymized.


Top ↑

Source Source

File: includes/privacy-functions.php


Top ↑

Changelog Changelog

Changelog
Version Description
2.9.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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