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

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

Parameters Parameters


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


(string) Current profile template being used.


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

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
2.6.0 Added the $r parameter.
1.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.