learndash_upload_assignment_init learndash_upload_assignment_init( int $post_id, int $fname ) Handles assignment uploads. ContentsDescription Parameters Source Changelog Related Uses Used By Description # Takes post ID, filename as arguments(We don’t want to store BLOB data there). Parameters # $post_id (int) (Required) Post ID. $fname (int) (Required) Assignment file name. Source # File: includes/ld-assignment-uploads.php Changelog # Changelog Version Description 2.1.0 Introduced. Related # Uses # 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_approve_assignment () Marks assignment approved by user ID annd lesson ID. includes/ld-assignment-uploads.php: learndash_assignment_uploaded Fires after the assignment is uploaded. 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_course_id () Gets the course ID for a resource. includes/course/ld-course-progress.php: learndash_get_next_lesson_redirect () Redirects the user to next lesson. Used By # Used By Used By Description includes/ld-assignment-uploads.php: learndash_fileupload_process () Handles file upload process.
Uses # 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_approve_assignment () Marks assignment approved by user ID annd lesson ID. includes/ld-assignment-uploads.php: learndash_assignment_uploaded Fires after the assignment is uploaded. 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_course_id () Gets the course ID for a resource. includes/course/ld-course-progress.php: learndash_get_next_lesson_redirect () Redirects the user to next lesson.
Used By # Used By Used By Description includes/ld-assignment-uploads.php: learndash_fileupload_process () Handles file upload process.