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
- $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 Source
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Added the $r parameter. |
1.1.0 | Introduced. |