Reports::removeUserColumnIfSelected( $columns,  $args )

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

Description

Source

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

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

		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.