• Hi,

    I’m using the “Topics Autocomplete Lessons” option of this module, but I dont need the redirection functionality, so I commented the following code on src/classes/mark-lessons-complete.php

    Line 106
    // only redirect if lesson does not have auto-complete on
    `if ( self::maybe_redirect( $data[‘lesson’] ) ) {
    learndash_get_next_lesson_redirect( $data[‘lesson’] );
    }`

    I would like to know if is there a propper way (like a function snippet) to disable this redirection so I dont need to block the modules updates to not lose this customization.

    Best regards,

  • The topic ‘Function to Disable Redirect on Topics Autocomplete Lesson’ is closed to new replies.