apply_filters( 'bp_xprofile_get_hidden_fields_for_user', array $hidden_fields, int $displayed_user_id, int $current_user_id )

Filters the ids of fields that are hidden for this displayed/loggedin user pair.

Description

Parameters

$hidden_fields

Array of hidden fields for the displayed/logged in user.

$displayed_user_id

ID of the displayed user.

$current_user_id

ID of the current user.

Source

File: bp-xprofile/bp-xprofile-functions.php

Changelog

Changelog
Version Description
BuddyPress 1.6.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.