apply_filters( ‘wp_privacy_additional_user_profile_data’, array $additional_user_profile_data, WP_User $user, string[] $reserved_names )

In this article

Filters the user’s profile data for the privacy exporter.


An array of name-value pairs of additional user data items. Default empty array.
  • name string
    The user-facing name of an item name-value pair,e.g. ‘IP Address’.
  • value string
    The user-facing value of an item data pair, e.g. ''.
The user whose data is being exported.
An array of reserved names. Any item in $additional_user_data that uses one of these for its name will not be included in the export.


$_extra_data = apply_filters( 'wp_privacy_additional_user_profile_data', array(), $user, $reserved_names );



User Contributed Notes

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