wp_privacy_anonymize_data WordPress Filter Hook

The wp_privacy_anonymize_data hook allows you to anonymize data for a user who has requested their data to be erased. This hook is called when the user makes a request through the WordPress privacy tools.

apply_filters( 'wp_privacy_anonymize_data', string $anonymous, string $type, string $data ) #

Filters the anonymous data for each type.


Parameters

$anonymous

(string)Anonymized data.

$type

(string)Type of the data.

$data

(string)Original data.


Top ↑

Source

File: wp-includes/functions.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