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

324
325
326
327
328
329
330
331
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.