learndash_can_complete_step( int $user_id, int $step_id, int $course_id )

Check if the user can complete the current step.


Description Description

This is mostly used before auto-completing a prent step like a quiz parent lesson.


Parameters Parameters

$user_id

(Required) User ID.

$step_id

(Required) Course Step ID.

$course_id

(Required) Course ID.


Top ↑

Return Return

(boolean) True if can complete.


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.2.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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