@since: 2.5.0

learndash_redirect_post_location()

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).