learndash_course_get_completed_steps( int $user_id, int $course_id, array $course_progress = array() )

Gets the total completed steps for a given course progress array.


Description Description


Parameters Parameters

$user_id

(Optional) The ID of the user. Default 0.

$course_id

(Optional) The ID of the course. Default 0.

$course_progress

(Optional) An array of course progress data.

Default value: array()


Top ↑

Return Return

(int) The count of completed course steps.


Top ↑

Source Source

File: includes/course/ld-course-steps-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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