Ajax::removeIdsOnNonExport( $column,  $args )

Remove the id fields when fetching for display only

Description

Source

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

111
112
113
114
115
116
117
118
119
public function removeIdsOnNonExport($column, $args)
{
    if (! isset($args['report'])) {
        unset($column['user_id']);
        unset($column['course_id']);
    }
 
    return $column;
}

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.