learndash-profile-quiz-list-columns

apply_filters( 'learndash-profile-quiz-list-columns',  array $quiz_columns )

Filters user profile quiz list columns.


Description #


Parameters #

$quiz_columns

(array) An array of quiz list column details array. Column details array can have keys for id and label.


Source #

File: themes/ld30/templates/shortcodes/profile/quizzes.php


Examples #

 <?php
/**
 * Example usage for learndash-profile-quiz-list-columns filter.
 */
add_filter(
	'learndash-profile-quiz-list-columns',
	function( $quiz_columns ) {
		// May add any custom logic using $quiz_columns.

		// Always return $quiz_columns.
		return $quiz_columns;
	}
);