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


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.