Reports::getGeneratorColumns( $generator )

Convert generator columns to datatable js format by current generator

Description

Source

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

	protected function getGeneratorColumns($generator)
	{
		$columns = (new $generator['class'])->getColumns();

		return array_map([$this, 'standarlizeGeneratorColumns'], $columns, array_keys($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.