bp_is_group_custom_front()
Is the current group page a custom front?
Description
Return
(bool) True if the current group page is a custom front.
Source
File: bp-core/bp-core-template.php
function bp_is_group_custom_front() {
$bp = buddypress();
return (bool) bp_is_group_home() && ! empty( $bp->groups->current_group->front_template );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 2.4.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.