apply_filters( 'bp_has_profile', bool $has_groups, string $profile_template, array $r )

Filters whether or not a group has a profile to display.

Description

Parameters

$has_groups

(bool) Whether or not there are group profiles to display.

$profile_template

(string) Current profile template being used.

$r

(array) Array of arguments passed into the BP_XProfile_Data_Template class.

Source

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

Changelog

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