groups_screen_my_groups()
Handle the loading of the My Groups page.
Description
Source
File: bp-groups/screens/user/my-groups.php
function groups_screen_my_groups() { /** * Fires before the loading of the My Groups page. * * @since BuddyPress 1.1.0 */ do_action( 'groups_screen_my_groups' ); /** * Filters the template to load for the My Groups page. * * @since BuddyPress 1.0.0 * * @param string $value Path to the My Groups page template to load. */ bp_core_load_template( apply_filters( 'groups_template_my_groups', 'members/single/home' ) ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.0.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.