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.


Top ↑

Source

File: wp-admin/includes/ajax-actions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.9.6Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More