Reports::standarlizeGeneratorColumns( $column,  $key )

Convert generator columns to datatable js format

Description

Source

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

	protected function standarlizeGeneratorColumns($column, $key)
	{
		return [
			'title'     => $column['label'],
			'data'      => $key,
			'name'      => $key,
			'orderable' => $column['sortable']
		];
	}

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.