apply_filters( 'bp_field_has_public_data', string $value, object $profile_template )

Filters whether or not the XProfile field has public data to display.

Description

Parameters

$value

(string) Profile field ID being displayed.

$profile_template

(object) Profile template object.

Source

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

Changelog

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