groups_screen_my_groups()

Handle the loading of the My Groups page.

Description

Source

File: bp-groups/screens/user/my-groups.php

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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

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.