learndash_approve_assignment_by_id

learndash_approve_assignment_by_id( int $assignment_id )

Marks assignment approved by assignment ID.


Description #


Parameters #

$assignment_id

(int) (Required) Assignment ID.


Return #

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


Source #

File: includes/ld-assignment-uploads.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.