Browse: Home / Functions /


learndash_assignment_list_approved( array $assignment_ids,  int $step_id,  int $user_id )

Checks whether all assignments for specified step and user are approved.

Description #

Parameters #


(<span class="array">array) (Required) An array of assignment IDs.


(int) (Required) The ID of the lesson or topic to get user assignments from.


(int) (Optional) The user ID, gets current user if not specified.

Return #

(boolean) True if all user assignments for step are approved, otherwise false.

Source #

File: includes/ld-assignment-uploads.php

Changelog #

Version Description
4.5.0 Introduced.