apply_filters( 'learndash_approve_assignment', boolean $approve , int $user_id , int $lesson_id , int $assignment_post_id )
Filters whether an assignment should be approved or not.
Description Description
Parameters Parameters
- $approve
-
Whether assignment should be approved or not.
- $user_id
-
User ID.
- $lesson_id
-
Lesson ID.
- $assignment_post_id
-
Assignment ID. @since 2.5.5
Source Source
File: includes/ld-assignment-uploads.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |