learndash_mark_incomplete_form_atts

apply_filters( 'learndash_mark_incomplete_form_atts',  array $atts,  WP_Post $post )

Filters attributes to mark a course incomplete.


Description #


Parameters #

$atts

(array) An array of attributes to mark a course incomplete.

$post

(WP_Post) WP_Post object being displayed.


Source #

File: includes/course/ld-course-progress.php


Examples #

 <?php
/**
 * Example usage for learndash_mark_incomplete_form_atts filter.
 */
add_filter(
	'learndash_mark_incomplete_form_atts',
	function( $atts, $post ) {
		// May add any custom logic using $atts, $post.

		// Always return $atts.
		return $atts;
	},
	10,
	2
);