learndash_assignment_process_init()
Handles the upload, delete, and mark as complete for the assignment.
Contents
Description #
Fires on parse_request
hook.
Source #
Changelog #
Version | Description |
---|---|
2.1.0 | Introduced. |
Related #
Uses #
Uses | Description |
---|---|
includes/ld-misc-functions.php: learndash_safe_redirect () |
Utility function to centralize all LearnDash redirect calls. |
includes/ld-misc-functions.php: learndash_get_setting () |
Gets the LearnDash setting for a post. |
includes/ld-assignment-uploads.php: learndash_check_upload () |
Checks whether the assignment upload is successfull or not. |
includes/ld-assignment-uploads.php: learndash_approve_assignment () |
Marks assignment approved by user ID annd lesson ID. |
includes/ld-assignment-uploads.php: learndash_fileupload_process () |
Handles file upload process. |
includes/ld-assignment-uploads.php: learndash_assignment_upload_user_check |
Filters whether to allow assignment for non logged in users. |
includes/ld-assignment-uploads.php: learndash_assignment_force_delete |
Filters whether to force delete the assignment or not. |
includes/ld-groups.php: learndash_is_admin_user () |
Checks if a user has the admin capabilities. |
includes/ld-groups.php: learndash_is_group_leader_of_user () |
Checks whether a group leader is an admin of a user’s group. |
includes/class-ldlms-post-types.php: learndash_get_post_type_slug () |
This function is documented in includes/class-ldlms-post-types.php |
includes/course/ld-course-functions.php: learndash_get_courses_for_step () |
Gets the list of courses associated with a step. |
includes/course/ld-course-functions.php: learndash_get_course_id () |
Gets the course ID for a resource. |
includes/course/ld-course-progress.php: learndash_process_mark_incomplete () |
Marks a course step incomplete for a course. |