AllReportsGenerator::formatDataForDisplay( $data,  $activity )

Overwrite results value for display

Description

Source

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

	protected function formatDataForDisplay($data, $activity)
	{
		return wp_parse_args([
			'step' => sprintf(
				'<a href="%s" target="_blank">%s</a>',
				get_permalink($activity->post_id),
				$activity->post_title
			)
		], $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.