Skip to content

Fix(🛠) : Course Pre-Requisites not working in Modern Mode#2524

Merged
harunollyo merged 4 commits into4.0.0-devfrom
course-prerequisite-issue
Apr 13, 2026
Merged

Fix(🛠) : Course Pre-Requisites not working in Modern Mode#2524
harunollyo merged 4 commits into4.0.0-devfrom
course-prerequisite-issue

Conversation

@sanjana4khan
Copy link
Copy Markdown
Collaborator

@sanjana4khan sanjana4khan commented Apr 7, 2026

Reproduce steps:

  • Create two courses A and B.
  • Make A the prerequisite course for B.
  • Now, after purchasing course B, the user can access its lessons without enrolling in course A.

@sanjana4khan sanjana4khan added the 4.0.0 Tutor v4.w0w label Apr 7, 2026
$course_complete_modal_id = 'tutor-course-complete-modal';
$course_retake_modal_id = 'tutor-course-retake-modal';

do_action( 'tutor/course/single/content/before/all', $tutor_course_id, $tutor_current_content_id );
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to use it top

@sanjana4khan sanjana4khan requested a review from harunollyo April 13, 2026 06:02
@harunollyo harunollyo merged commit 4701acc into 4.0.0-dev Apr 13, 2026
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0.0 Tutor v4.w0w

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants