apply_filters( "learndash_{$context}_progress_alert",  array $alert )

Filters the progress alert arguments.

Description #

The dynamic portion of the hook name, $context, refers to the context of progress, such as course, lesson, topic, quiz, etc.

Parameters #


(array) An array of Progress alert arguments.

Source #

File: themes/ld30/templates/modules/messages/lesson-progression.php

Examples #

 * Example usage for learndash_{$context}_progress_alert filter.
	function( $alert ) {
		// May add any custom logic using $alert.

		// Always return $alert.
		return $alert;