apply_filters( ‘wp_privacy_personal_data_erasers’, array $args )

In this article

Filters the array of personal data eraser callbacks.

Parameters

$argsarray
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.

Source

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

Changelog

VersionDescription
4.9.6Introduced.

User Contributed Notes

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