learndash_is_assignment_approved

learndash_is_assignment_approved( int $assignment_id )

Checks if the assignment is approved or not.


Description #


Parameters #

$assignment_id

(int) (Required) Assignment ID.


Return #

(boolean|string) Returns true if assignment approved otherwise false.


Source #

File: includes/ld-assignment-uploads.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.