learndash_mark_complete

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 #

$post

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

$atts

(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 #

Changelog
Version Description
2.1.0 Introduced.