Description
CAJE Course Builder is for creators who release a video course or series a little at a time. Each student’s schedule starts when they buy: the first lessons open right away, the next ones unlock after the interval you choose (every day, every 3 days, every week, or any number of days), and access ends a set number of days after the last unlock. It feels like a cohort, without running one.
A course builder made for creators
- One full-screen page, in three steps: Details (title, description, image, free or paid), Lessons, and Access & emails.
- Click a lesson to fill in its video link, notes, length and unlock day in the main area, not a sidebar.
- Publishing offers to publish draft lessons too, and warns when a paid course can’t be bought until Stripe is connected.
- Prefer the WordPress editor? It’s still one click away.
Unlocks on your schedule, for each student
- Arrange lessons into weeks by dragging them.
- Unlocks happen at a time of day you choose, in your site’s timezone, and stay correct across daylight saving changes.
- A live summary shows exactly when the last week unlocks and when access ends, e.g. “Week 6 unlocks on day 35. Access ends on day 125.”
- Locked lessons show their title and unlock date, never their content. Videos are only sent to the page once a student is allowed to watch.
Selling with Stripe
- New students create an account right on the course page (name, email, password) and go straight to checkout. No confirmation email to dig out first.
- Stripe’s hosted Checkout: card details never touch your site.
- Stripe Tax support for sales tax and VAT.
- The webhook is set up for you when you save your key.
- Refund from WordPress; access ends when Stripe confirms the refund.
- Students whose access ended can buy again. Remove a student from a course, or revoke their access, from Courses → Enrollments.
- Missed webhooks are caught by an hourly check with Stripe.
- Free courses get an “Enroll for free” button.
Emails students actually need
- A welcome email, one each time a week unlocks, reminders before access ends (30, 7 and 1 days by default) and one when it ends.
- Each email goes out once, even if scheduled tasks run late or twice.
- Sent through
wp_mail(), so your SMTP plugin applies. Templates can be overridden in your theme.
Student accounts and dashboard
- A Student login page, made for you: students log in, create an account and reset a forgotten password in your site’s design, not on the WordPress login screen. You still log in to wp-admin as usual.
- A My Courses block and
[cajecb_my_courses]shortcode: unlocked weeks, when the next one unlocks, and days of access left. - Students land there after logging in.
Set up in minutes
Courses → Setup walks you from a fresh install to a test purchase: basics, Stripe, student accounts, emails and your first course, then a checklist of anything still missing.
Video
Embed YouTube or Vimeo videos per lesson. For protected video that can’t be shared, the separate Pro add-on adds Bunny Stream uploads from the lesson editor with signed, expiring player links.
For developers
- WP-CLI:
wp cajecb enroll --student=…,wp cajecb status --student=… --now=…to see any student’s access on any date, andwp cajecb sweep --now=…to walk a schedule without waiting.--studentis the student; WP-CLI already uses--userfor the account that runs the command. - Hooks for gateways, video providers, features, merge tags and email content.
- Theme-overridable templates in
caje-course-builder/. - The screens in
build/are compiled. The readable source is included insrc/.
Privacy and external services
This plugin stores, in your WordPress database: enrollments (user, course, dates and status), orders (user, course, amount, discount, tax, currency, status and the Stripe Checkout Session and payment IDs) and a log of which course emails each student was sent. It adds suggested text to your privacy policy, supports WordPress’s personal data export and erasure tools, and removes a user’s enrollments when the user is deleted. Orders are kept as sales records.
It connects to these services:
Stripe (payments), only after you add a Stripe secret key:
- When a logged-in buyer clicks Buy, the plugin creates a Checkout Session at
api.stripe.com, sending the course name, price, currency, the buyer’s email address and WordPress user ID, and your site’s address. The buyer then pays oncheckout.stripe.com. - When you save your key, or check the connection, it creates or checks the webhook endpoint for your site and reads your Stripe Tax status.
- Hourly, it asks Stripe for Checkout Sessions from the last 72 hours to catch any payment whose webhook didn’t arrive.
- When you click Refund, it creates a refund for that payment.
- Stripe’s Services Agreement and Privacy Policy.
YouTube and Vimeo (video embeds), only on lessons you’ve given a YouTube or Vimeo link, and only for students allowed to watch them: the student’s browser loads the player from www.youtube-nocookie.com or player.vimeo.com (with Vimeo’s “do not track” option). YouTube’s Terms and Google’s Privacy Policy; Vimeo’s Terms and Privacy Policy.
The plugin makes no other external requests, and sends no usage data.
Credits
The curriculum screen’s drag and drop uses dnd kit (MIT license).
Installation
- Install and activate the plugin.
- Go to Courses → Setup and follow the steps.
- In Settings → General, set your timezone to a city (not a UTC offset) so unlock times follow daylight saving.
- For dependable email timing on quiet sites, have your host run WordPress cron from the server. Courses → Settings → Emails shows how.
FAQ
When do new lessons unlock?
At the unlock time you choose (8:00 am by default) in your site’s timezone, on the day it’s due. You set the interval per course in days: with 7, week 2 unlocks 7 days after purchase and week 3 after 14; with 3, every 3 days. You can also give a single lesson its own unlock day.
How do students log in?
On the Student login page the plugin creates (Courses → Settings → General shows it). It has Log in and Create account tabs and a Forgot password link, and the reset email opens a “Choose a new password” form on the same page. Course pages, My Courses and your theme’s login links all lead there. Use a different page instead if your theme or a membership plugin has its own.
Can I test a schedule without waiting weeks?
Yes. wp cajecb status --student=… --now="2026-12-01 09:00" shows what a student can see at any moment, and wp cajecb sweep --now=… sends the emails that would be due then. Enroll and revoke take the same --student (an ID, email or login) and --course. On non-production sites you can also set the plugin’s clock with the CAJECB_NOW constant in wp-config.php.
Can I test payments on my own computer?
Yes. Use Stripe test mode and run stripe listen --forward-to with the webhook URL shown in Courses → Settings → Payments, then paste the signing secret it prints.
Are embedded YouTube or Vimeo videos protected?
No. The plugin only puts the player on the page for students who are allowed to watch, but anyone who has the video’s link can watch it on YouTube or Vimeo. Use unlisted or private videos with domain restrictions, or the Pro add-on’s Bunny Stream integration for protected video.
What happens when I delete the plugin?
Scheduled tasks are removed. Your courses, enrollments, orders and settings are kept unless you turn on “Delete all … when the plugin is deleted” in Courses → Settings → General. The webhook in your Stripe account isn’t removed; delete it in Stripe → Developers → Webhooks.
Screenshots






Changelog
1.0.5
- New Courses → Upgrade to Pro screen: what the Pro add-on adds, and its three plans. It’s hidden once Pro is active.
- Small “Pro” notes in the course builder where Pro features would go (payment plans, class start dates, quizzes, progress and certificates). Turn them off in Courses → Settings → General.
- The confusing “More options” card in the builder’s Access & emails step is gone.
- Add-ons can now add sections to the builder’s lesson form and Lessons step, and save their own lesson fields with the lesson.
1.0.4
- New course builder: “Add New Course” and the Edit links open one full-screen page with three steps (Details, Lessons, Access & emails). Each lesson’s video, notes, length and unlock day are edited in the main area. The WordPress editor is still available.
- New Student login page: log in, create an account and reset a forgotten password in your site’s design. It’s created on your first visit to wp-admin after updating, unless you chose a login page already.
- Students whose access expired or was refunded can buy (or enroll) again. Courses → Enrollments has “Remove from course”; revoked students stay out until restored or removed.
- Clear warnings when a paid course can’t be bought because Stripe isn’t connected: next to the price, on the Courses screens and in the Price column.
- Course addresses repair themselves if the saved permalinks lose them, so there’s no need to re-save Settings → Permalinks.
- The theme’s “Read more” link on the course list says “Explore course”.
- Orders record discounts, and checkouts that a discount makes free complete normally.
- New hooks for add-ons: schedule start dates, enrollment open and closed messages, add-on checkouts, Stripe events, and builder slots.
1.0.3
- A new look for course pages, lessons, the locked-lesson message, My Courses and the sign-up form: calm panels, a week timeline and clear open and locked states, on your theme’s own font.
- New Accent color setting in Courses → Settings → General. Button text switches between white and dark to stay readable.
- Templates add state classes such as
is-openandis-locked. Templates copied to your theme keep working.
1.0.2
- Signup limits from one connection stay in force when several requests arrive together.
- A sweep handles a fixed number of emails per run, including ones it only records as skipped, and later runs finish the rest without sending anything twice.
- After you log in or register to buy, checkout continues only with a nonce issued for that login, plus the one-time token from your browser.
1.0.1
- Setup screen styles are loaded with
wp_enqueue_styleinstead of a style tag in the page. - Actions that change enrollments, settings, or setup check a nonce and a capability. Request values are unslashed and sanitized.
- Course pages, locked lessons, and My Courses escape the HTML they add to the page, including video players.
- The setup reminder on the Courses screen is dismissible and stays dismissed for that user.
1.0.0
- First public release: weekly drip schedules with expiry, Stripe Checkout with Stripe Tax and refunds, student emails, the My Courses dashboard, the setup wizard and WP-CLI commands.
- Lessons a visitor can’t watch stay out of search, including the REST search endpoints.
wp cajecb enroll,statusandrevoketake--student(WP-CLI reserves--user).- A payment that doesn’t match the course price tells the buyer and emails the site owner.
- Returning from login continues to checkout only with a short-lived token from this site.
- Days of access left follow calendar dates in the site timezone, including across daylight saving.