wp_privacy_personal_data_erasers WordPress Filter Hook
The wp_privacy_personal_data_erasers hook is used to register personal data erasers for the WordPress privacy tools. Erasers are responsible for deleting personal data for a given user, and they must be registered with the WordPress privacy tools in order to be used.
apply_filters( 'wp_privacy_personal_data_erasers', array $args ) #
Filters the array of personal data eraser callbacks.
Parameters
- $args
(array)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 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.
- 'callback'
- '...$0'
Source
Changelog
Version | Description |
---|---|
4.9.6 | Introduced. |