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

Filters the visibility levels that should be hidden for this user pair.

Description

Parameters

$hidden_fields

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

$displayed_user_id

(int) ID of the displayed user.

$current_user_id

(int) ID of the current user.

Source

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

Changelog

Changelog
Version Description
BuddyPress 2.0.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.