Reports::removeCourseColumnIfSelected( $columns,  $args )

Remove the course column if a course is selected in the filter

Description

Source

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

	public function removeCourseColumnIfSelected($columns, $args)
	{
		if ($args['course']) {
			unset($columns['course']);
		}

		return $columns;
	}

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.