apply_filters( 'edd_should_anonymize_customer', array )
Determines if this customer should be allowed to be anonymized.
Description Description
Developers and extensions can use this filter to make it possible to not anonymize a customer. A sample use case would be if the customer has pending orders, and that payment requires shipping, anonymizing the customer may not be ideal.
Parameters Parameters
-
Contains data related to if the anonymization should take place
- 'should_anonymize'
(bool) If the customer should be anonymized. - 'message'
(string) A message to display if the customer could not be anonymized.
- 'should_anonymize'
Source Source
File: includes/privacy-functions.php
Changelog Changelog
Version | Description |
---|---|
2.9.2 | Introduced. |