Ajax::removeIdsOnNonExport( $column, $args )
Remove the id fields when fetching for display only
Description
Source
File: bp-integrations/learndash/buddypress/Ajax.php
public function removeIdsOnNonExport($column, $args) { if (! isset($args['report'])) { unset($column['user_id']); unset($column['course_id']); } return $column; }
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.