| 开发者 | ascialom74 |
|---|---|
| 更新时间 | 2026年11月26日 17:28 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[bos_lessons_app] – the lesson library and player: sign-in, search, favourites, progress, audio and video playback. One page.[bos_lessons_programs] – a grid of all your programs with price and a Buy Now button.[bos_lessons_program id="12"] – one program page, built from the content you wrote in BOS. On a WooCommerce product linked to a program the id is not needed.[bos_lessons_app]) works without it.[bos_lessons_app], [bos_lessons_programs] or [bos_lessons_program], your site calls the BOS API (api.bos.work, or the API URL set in Settings) to fetch programs, lessons and media URLs. Your API key and your site address are sent with each call./wp-json/bos-lessons/v1/proxy/…) to the BOS API. The student's email, password and a session token pass through your server; they are not stored in WordPress.youtube-nocookie.com or player.vimeo.com; that service receives the video id and the student's IP address and browser details. Audio lessons do not use these services.
app/bos-lessons.js is built from the source in app-src/ (React + Vite). Source and build instructions: https://github.com/assafscialom/bos-lessons
[bos_lessons_app]. This is your lesson library.program and add [bos_lessons_program]. Program pages are served at /program/12-program-name/.For program pages and selling, yes. The lesson library ([bos_lessons_app]) works without it for students who already have access.
Audio and images are hosted on BOS. Videos stay on your own YouTube or Vimeo account (unlisted works) and you paste the link into the lesson. Nothing is uploaded to your WordPress media library, so your hosting plan is not affected by storage or bandwidth.
The player is scoped under #bos-app and the program pages use .bos-pkg classes, so your theme styles stay untouched and you can override ours in your theme's CSS.
The shortcodes stop rendering. Product links and orders stay as they are. Deleting the plugin removes its settings and caches.
Yes. The shortcodes work anywhere shortcodes do, and the thank-you box supports both the classic and the block checkout.
[bos_lessons_app], [bos_lessons_programs] and [bos_lessons_program]. The earlier short names are no longer registered: update the pages that use them._bos_lessons_program_id. Links saved by earlier versions keep working.