bp_is_group_custom_front()
Is the current group page a custom front?
Description Description
Return Return
(bool) True if the current group page is a custom front.
Source 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 Changelog
| Version | Description |
|---|---|
| 2.4.0 | Introduced. |