BpGroupReports::display( $groupId = null )

Display the tab content based on the selected sub tab

Description

Source

File: bp-integrations/learndash/buddypress/components/BpGroupReports.php

37
38
39
40
41
42
43
44
45
46
public function display($groupId = null)
{
    $this->loadSubMenuTemplate($groupId);
 
    $action = bp_action_variable() ?: 'reports';
 
    if (! $location = bp_locate_template("groups/single/reports-{$action}.php", true)) {
        bp_locate_template('groups/single/reports-404.php', true);
    }
}

Changelog

Changelog
Version Description
BuddyBoss 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.