Core Function
View Source on Trac ↗ wp_privacy_anonymize_data()
wp_privacy_anonymize_data( mixed $type, mixed $data = '' ) Returns uniform "anonymous" data by type.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $type string | The type of data to be anonymized. Required |
| $data string | Optional. The data to be anonymized. Default empty string. |
Return Value
(string)
The anonymous data for the requested type.
Function Information
Since Version
4.9.6
Source File
wp-includes/functions.php
Advertisement