Browse: Home / Hooks /


apply_filters( 'learndash_get_assignment_progress',  array $stats )

Filters progress of an assignment.

Description #

Parameters #


(array) An Associative array of assignment statistics with keys total, complete.

Source #

File: themes/ld30/includes/helpers.php

Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 * Example usage for learndash_get_assignment_progress filter.
	function( $stats ) {
		// May add any custom logic using $stats.

		// Always return $stats.
		return $stats;

Changelog #

Version Description
3.0.0 Introduced.