groups_screen_group_home()
Handle the loading of a single group’s page.
Source Source
File: bp-groups/screens/single/home.php
function groups_screen_group_home() { if ( ! bp_is_single_item() ) { return false; } /** * Fires before the loading of a single group's page. * * @since 1.0.0 */ do_action( 'groups_screen_group_home' ); /** * Filters the template to load for a single group's page. * * @since 1.0.0 * * @param string $value Path to a single group's template to load. */ bp_core_load_template( apply_filters( 'groups_template_group_home', 'groups/single/home' ) ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |