Reports::showReportUserStats()

Output report user stats html

Description

Source

File: bp-integrations/learndash/buddypress/Reports.php

	public function showReportUserStats()
	{
		if (empty($_GET['user'])) {
			return;
		}


		$courseId = bp_ld_sync()->getRequest('course');
		$course   = $courseId? get_post($courseId) : null;
		$group    = groups_get_current_group();
		$user     = get_user_by('ID', $_GET['user']);

		require bp_locate_template('groups/single/reports-user-stats.php', false, false);
	}

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.