WordPress at Your Fingertips
filter is not described

wp_privacy_additional_user_profile_data filter-hook . WP 5.4.0

Filter to extend the user's profile data for the privacy exporter.


add_filter( 'wp_privacy_additional_user_profile_data', 'filter_function_name_3363', 10, 3 );
function filter_function_name_3363( $additional_user_profile_data, $user, $reserved_names ){
	// filter...

	return $additional_user_profile_data;

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.


Since 5.4.0 Introduced.

Where the hook is called

wp-includes/user.php 3456
$_extra_data = apply_filters( 'wp_privacy_additional_user_profile_data', array(), $user, $reserved_names );

Where in WP core the hook is used WordPress

Usage not found.