| 开发者 | cajebuilder |
|---|---|
| 更新时间 | 2026年11月13日 12:53 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp_mail(), so your SMTP plugin applies. Templates can be overridden in your theme.[cajecb_my_courses] shortcode: unlocked weeks, when the next one unlocks, and days of access left.wp cajecb enroll --student=…, wp cajecb status --student=… --now=… to see any student's access on any date, and wp cajecb sweep --now=… to walk a schedule without waiting. --student is the student; WP-CLI already uses --user for the account that runs the command.caje-course-builder/.build/ are compiled. The readable source is included in src/.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.
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.
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.
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.
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.
is-open and is-locked. Templates copied to your theme keep working.wp_enqueue_style instead of a style tag in the page.wp cajecb enroll, status and revoke take --student (WP-CLI reserves --user).