Uma área de pesquisa sobre o WordPress para devs e autores do tema

wp_privacy_additional_user_profile_data › Hooks de Filtros WordPress

apply_filters( 'wp_privacy_additional_user_profile_data', array()
Parâmetros: (3)
  • (array) $additional_user_profile_data { An array of name-value pairs of additional user data items. Default empty array. @type string $name The user-facing name of an item name-value pair,e.g. 'IP Address'. @type string $value The user-facing value of an item data pair, e.g. ''. }
    Required: Yes
  • (WP_User) $user The user whose data is being exported.
    Required: Yes
  • (string[]) $reserved_names 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.
    Required: Yes
Definido em:

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


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