On this page
apply_filters( 'wp_privacy_additional_user_profile_data', array $additional_user_profile_data, WP_User $user, string[] $reserved_names )
Filters the user’s profile data for the privacy exporter.
Parameters
$additional_user_profile_dataarray-
An array of name-value pairs of additional user data items. Default empty array.
namestringThe user-facing name of an item name-value pair,e.g. 'IP Address'.valuestringThe user-facing value of an item data pair, e.g.'50.60.70.0'.
$userWP_User-
The user whose data is being exported.
$reserved_namesstring[]-
An array of reserved names. Any item in
$additional_user_datathat uses one of these for itsnamewill not be included in the export.
Source
File: wp-includes/user.php. View all references
$_extra_data = apply_filters( 'wp_privacy_additional_user_profile_data', array(), $user, $reserved_names );
Related
Used By
| Used By | Description |
|---|---|
| wp_user_personal_data_exporter() wp-includes/user.php | Finds and exports personal data associated with an email address from the user and user_meta table. |
Changelog
| Version | Description |
|---|---|
| 5.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_privacy_additional_user_profile_data