LessonsReportsGenerator::formatDataForExport( $data,  $activity )

Overwrite results value for export

Description

Source

File: bp-integrations/learndash/buddypress/generators/LessonsReportsGenerator.php

	protected function formatDataForExport( $data, $activity ) {
		$data['status'] = empty( $activity->activity_completed ) ? $this->incompleted_table_title : $this->completed_table_title;

		return $data;
	}

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.