How Notes Are Stored
LMS Notes stores everything in standard WordPress structures - no custom database tables.
Content type: lcn_notes
Section titled “Content type: lcn_notes”Each note is a post of the custom post type lcn_notes.
- The note title is the post title.
- The note body is the post content.
- The note author is the learner who created it.
Taxonomy: notes_label
Section titled “Taxonomy: notes_label”Labels (tags) are terms in the notes_label taxonomy, attached to each note. New labels are created on the fly when a learner types a label that does not yet exist.
Post meta
Section titled “Post meta”Each note records the following meta so it can be shown in context and scoped to the right instructor:
| Meta key | Contents |
|---|---|
course_id |
ID of the content item the note was taken on (course, lesson, topic, or quiz). |
ass_course_name |
ID of the parent course that content belongs to. |
course_note |
A copy of the note body. |
user_id |
The note author’s user ID. |
created_dt |
The formatted creation date/time string. |
Caching
Section titled “Caching”A learner’s note for a given content item is cached in a transient keyed as:
lcn_notes_{content_id}_{user_id}The transient lasts 12 hours and is deleted automatically when the note is deleted, so lists stay accurate.
Pages created on activation
Section titled “Pages created on activation”On first activation the plugin creates two pages if they do not already exist: My Notes ([lcn_notes]) and All Notes ([lms_instructor_notes]).
Uninstall
Section titled “Uninstall”Uninstalling the plugin does not delete your data: notes (lcn_notes posts), labels (notes_label terms), the plugin’s settings option, and the auto-created My Notes / All Notes pages remain in the database. Remove them manually if you want a clean slate.

