How LMS Blueprint is put together

This manual is for LMS Blueprint 0.47.19

Free Core AI Complete Store 0.47.0

This part of the manual is for developers and agencies: what each download contains, where things live in the code, and how to extend it. Every name on these pages is read from the code. The reference pages (hooks, theme hooks, shortcodes and blocks, REST routes, post types, taxonomies and tables) are generated from the code at each release, with the file and line of every entry.

Which download carries which code

LMS Blueprint is built from one source folder. Each download is a plugin (or the theme) assembled from some of its modules.

downloadwhat it installsmodules inside
Freethe lms-blueprint pluginthe course module (modules/lms) and the shared classes
Corethe Suite plugin and the themethe course module, payments, design, apps (modules/webapps), the student app connection and agent access (modules/connect), the importer, the store and entitled files, and the shared classes
AI add-onthe lms-blueprint-ai pluginmodules/feedback, modules/content, modules/passport, modules/rag and the shared classes
Completethe Suite plugin, the theme and lms-blueprint-aieverything in Core and the AI add-on
Store add-onthe lms-blueprint-store pluginthe store and entitled files, and the shared classes

Which editions are on sale, and what each key does, is on Which edition is which.

Two things are in no download you can buy:

  • Selling licence keys and serving updates. The routes that issue keys and answer update checks are removed from the store module in every sold download; they run only on the site that sells LMS Blueprint. So REST routes lists them as “not in a sold zip”.
  • The update client in the free plugin. The free download takes its updates from WordPress.org, and its zip has no licence client and no update client.

On the reference pages, the “in the download” column says which download carries the file each entry is in.

Names

  • Hooks, shortcodes, options and post types start with am_, cb_, lmsb_ or, in the theme, cognition_. The hooks reference lists every prefixed hook the code runs.
  • Text domain: lms-blueprint in the source and in the free plugin. A paid plugin’s text domain is set to its own folder name when the download is built.

Which API to use

LMS Blueprint has three ways in from outside WordPress’s own admin screens. Pick by who is calling.

who is callingusehow it signs in
A student’s companion appthe cognition/v1 routesas one student, with a token from its sign-in route; it sees what that student is enrolled in
You or your own AI agent, working on your siteagent access at lmsb/v1/agentyour WordPress account, with an Application Password
Your own code on the same sitethe hooks, and the post types and tablesit runs inside WordPress

The student routes are listed on REST routes. Agent access is set up on Connect your own AI agent. The other routes on that page serve the plugin’s own pages and outside services, such as marking a lesson complete, saving a note, or receiving Stripe’s webhooks; read the code at the line given before you call one.

Where your data lives

Courses, modules, lessons, quizzes and learning paths are WordPress posts, and so are workbooks in Core; enrolments, progress, quiz attempts, orders and licences are in tables of their own. The full list, with the code line that creates each one, is on Post types, taxonomies and tables. What deleting the plugin keeps is on Deleting or reinstalling.

The rest of this part

pagewhat it answers
Hooks referenceevery filter and action, where it runs and what it passes
Shortcodes and blocksevery shortcode and server-registered block
REST routesevery route, its method and its permission check
Post types, taxonomies and tableswhere the data is kept
Workbooks as files, and workbooks in codethe workbook file format and the filters around it
The importer, for developerswhat the importer takes, its limits, and the suggestions hooks
Updates and licences, for agencieshow a paid plugin checks for updates, and what it sends
Theme hooksthe theme’s own hook