learndash_approve_assignment( int $user_id, int $lesson_id, int $assignment_post_id )

Marks assignment approved by user ID annd lesson ID.


Description Description


Parameters Parameters

$user_id

(Required) User ID.

$lesson_id

(Required) Lesson ID.

$assignment_post_id

(Optional) Assignment post ID. Default 0.


Top ↑

Return Return

(boolean) Returns true if the assignment is approved otherwise false.


Top ↑

Source Source

File: includes/ld-assignment-uploads.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.