=== WN Quiz Availability for LearnDash ===
Contributors: wooninjas
Tags: learndash, quiz availability, quiz scheduling, quiz date restriction, learndash quiz
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPL-3.0
License URI: https://www.gnu.org/licenses/gpl.html

Manage LearnDash quiz availability with flexible date and time scheduling to control when students can access quizzes.

== Description ==
WN Quiz Availability for LearnDash allows you to control when quizzes are accessible to students by setting specific start and end dates (including time).

This add-on helps you manage exam schedules, limited-time assessments, cohort-based learning, and structured course pacing more effectively.

Students can only access a quiz during the defined availability window. Outside of that timeframe, access is restricted.

== Key Features ==

* Restrict quiz access by date and time
* Display customizable availability messages
* Easy setup inside LearnDash quiz settings
* Full LearnDash integration
* Live preview of availability settings
* Fully responsive design

== Restrict Quiz Access ==

Choose a specific date range for each quiz. Students will only be able to access the quiz during that period. Outside of this range, quizzes remain unavailable.

== Quiz Availability Messages ==

If a student tries to open a quiz outside of the allowed dates, they will see a customizable message explaining that the quiz is not available.

== Easy Setup ==

Set quiz dates in LearnDash quickly and easily. Select the quiz, choose the start and end dates, and save.

== Full LearnDash Integration ==

This add-on works with LearnDash 4.25.0+ and WordPress 6.6+ and integrates smoothly with existing courses.

== Statistics ==

Track and manage quiz availability across courses and monitor when quizzes are being accessed.

== Live Preview ==

Preview availability messages and date restrictions without affecting live student access.

== Fully Responsive ==

Works on desktops, tablets, and mobile devices.

== Support ==

Need help? Please visit our support forum or open a support request through our official website.

== Installation ==

1. Upload the plugin directory to the `/wp-content/plugins/` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the **Plugins** screen in WordPress (LearnDash LMS must be active).
3. Go to **LearnDash → Quizzes**, edit a quiz, and open the **Settings** tab.
4. Enable the **Quiz Availability** option and set the From/To dates for when the quiz is available.

== Frequently Asked Questions ==

= Will the quiz be available on the specified date even if the course progress is zero? =
No. The student must complete the required course progress before attempting the quiz.

= Do I need to configure timezone settings? =
No. The add-on uses the default timezone configured in WordPress.

= Can I add multiple quizzes with the same date duration? =
Yes. Multiple quizzes can share the same availability range.

== Screenshots ==

1. Enable "Quiz Availability" option and set dates under quiz settings (screenshot-1.webp)
2. Quiz availability notification on front-end quiz page (screenshot-2.webp)

== Contributors and Developers ==
WN Quiz Availability for LearnDash is developed by WooNinjas.

== Changelog ==

= 1.0.0 =
Initial release