apply_filters( ‘wp_privacy_personal_data_erasers’, array $args )

In this article

Filters the array of personal data eraser callbacks.


An array of callable erasers of personal data. Default empty array.
  • ...$0 array
    Array of personal data exporters.
    • callback callable
      Callable eraser that accepts an email address and a page number, and returns an array with boolean values for whether items were removed or retained and any messages from the eraser, as well as if additional pages are available.
    • exporter_friendly_name string
      Translated user facing friendly name for the eraser.


$erasers = apply_filters( 'wp_privacy_personal_data_erasers', array() );



User Contributed Notes

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