learndash_validate_extensions()
Function: Utility function to parse and validate whether the assignment upload extensions are allowed.
Function: Utility function to parse and validate whether the assignment upload extensions are allowed.
Method: Retrieves quizzes for a course to populate dropdown on edit screen
Method: Makes wp_query to retrieve quizzes a course
Method: Called via the WordPress List Table instance. This function will adjust the course step permalinks to be nested if enabled.
Method: Override WordPress Get Edit Post Link to include nested URL.
Method: Hook into the admin post editor Permalink display. We override the LD post items so they include the full nested URL
Function: Utility function to get the nested permalink of the course step within in the course.
Function: Used when editing Lesson, Topic, Quiz or Question post items. This filter is needed to add the ‘course_id’ parameter back to the edit URL after the post is submitted (saved).
Function: Gets the list of activities by user ID for the report.
Function: Gets the list of activities by post id for the report.
Function: Removes the mismatched user activities.
Function: Removes the mismatched post activities.
Function: Clears user actvity by user id and activity type for the report.
Function: Clears post actvity by post id and activity type for the report.
Function: Deletes the activity rows by activity ID for the report.
Method: Add Quiz Builder link to Quizzes row action array.
Method: Filter the LearnDash admin menu (tabs). We remove the ‘Course Builder’ tab until needed.
Method: Add Course Builder link to Courses row action array.
Method: Filter the LearnDash admin menu (tabs). We remove the ‘Course Builder’ tab until needed.
Function: Deletes the uploaded file when essay post is deleted.