Browse: Home / Functions /

learndash_update_completion

learndash_update_completion( int $user_id = null,  int $postid = null )

Marks a resource complete.


Description #


Parameters #

$user_id

(int) (Optional) User ID.

Default value: null

$postid

(int) (Optional) The ID of the resource.

Default value: null


Source #

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


Changelog #

Changelog
Version Description
2.1.0 Introduced.