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.


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.