quiz_export_data

apply_filters( 'quiz_export_data',  array $content,  array $users,  int $groudp_id )

Filters quiz data that will print to CSV.


Description #


Parameters #

$content

(array) CSV content.

$users

(array) An array of users list.

$groudp_id

(int) Group ID.


Source #

File: includes/class-ld-lms.php


Examples #

 <?php
/**
 * Example usage for quiz_export_data filter.
 */
add_filter(
	'quiz_export_data',
	function( $content, $users, $groudp_id ) {
		// May add any custom logic using $content, $users, $groudp_id.

		// Always return $content.
		return $content;
	},
	10,
	3
);
 

Changelog #

Changelog
Version Description
2.1.0 Introduced.