learndash_lesson_hasassignments learndash_lesson_hasassignments( WP_Post $post ) Utility function to check whether a lesson has an assignment. ContentsDescription Parameters Return Source Changelog Related Used By Description # Parameters # $post (WP_Post) (Required) The assignment WP_Post object. Return # (boolean) Source # File: includes/ld-assignment-uploads.php Changelog # Changelog Version Description 2.1.0 Introduced. Related # Used By # Used By Used By Description includes/deprecated/3.4.0/functions.php: lesson_hasassignments () Utility function to check whether a lesson has an assignment. includes/course/ld-course-progress.php: learndash_mark_complete () Outputs the HTML output to mark a course complete.