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

Outputs the HTML output to mark a course complete.


Description Description

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


Parameters Parameters

$post

(Required) The WP_Post lesson or topic object.

$atts

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

Default value: array()


Top ↑

Return Return

(string) HTML output to mark course complete


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.