W3cubDocs

/WordPress

apply_filters( ‘wp_privacy_personal_data_erasers’, array $args )

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

    Version Description
    4.9.6 Introduced.

User Contributed Notes

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

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_privacy_personal_data_erasers