Browse: Home / Hooks /


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 #

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

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

		// Always return $alert.
		return $alert;

Changelog #

Version Description
3.0.0 Introduced.