Browse: Home / Functions /


learndash_mark_complete( WP_Post $post,  array $atts = array() )

Outputs the HTML output to mark a course complete.

Description #

Must meet requirements of course to mark the course as complete.

Parameters #


(WP_Post) (Required) The WP_Post lesson or topic object.


(array) (Optional) An array of attributes to mark course complete.

Default value: array()

Return #

(string) HTML output to mark course complete

Source #

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

Changelog #

Version Description
2.1.0 Introduced.