← Abilities Directory

LearnPress Abilities

LearnPress exposes abilities for AI assistants to both read and manage your LearnPress LMS — looking up courses, lessons, quizzes, student progress, and enrollments, and now creating, updating, and deleting courses, sections, lessons, quizzes, and quiz questions, plus enrolling students and updating their enrollment records.

25

Total

8

Read

17

Write

Requires the LearnPress plugin on WordPress 6.9+ (for the Abilities API). Abilities only register when both wp_register_ability() and wp_register_ability_category() exist. MCP Integration must also be enabled under LearnPress Settings → MCP, and requests must authenticate with a valid LearnPress MCP API key belonging to a user who holds the required base capability (default 'manage_options', filterable) and whose key scope covers the ability — the original read abilities require 'read' scope, while the course/section/lesson/quiz/question write abilities and enrollment management require 'write' (or 'read_write') scope. Each write ability is additionally gated by a real WordPress capability check (e.g. 'edit_lp_courses' to create a course, the 'edit_post'/'delete_post' meta capabilities to modify or trash a specific course/lesson/quiz, or 'list_users' to manage enrollments), so a valid API key alone is not sufficient; 'manage_options' always satisfies every check.

Add Quiz Question

Write

learnpress/add-quiz-question

Create a new question with answers and attach it to a quiz.

Create Course

Write

learnpress/create-course

Create a new LearnPress course, including pricing, categories/tags, level, and FAQ metadata.

Create Lesson

Write

learnpress/create-lesson

Create a new lesson and add it to a course's curriculum section.

Create Quiz

Write

learnpress/create-quiz

Create a new quiz and add it to a course's curriculum section.

Create Section

Write

learnpress/create-section

Add a new curriculum section to a course, optionally at a specific position.

Delete Course

Destructive

learnpress/delete-course

Move a course to the WordPress trash, reversible from WP admin.

Delete Lesson

Destructive

learnpress/delete-lesson

Move a lesson to the WordPress trash and remove it from its curriculum section.

Delete Quiz

Destructive

learnpress/delete-quiz

Move a quiz to the WordPress trash and remove it from its curriculum section.

Delete Quiz Question

Destructive

learnpress/delete-quiz-question

Remove a question from a quiz while preserving the underlying question post.

Delete Section

Destructive

learnpress/delete-section

Remove a curriculum section while preserving its lessons and quizzes.

Enroll Student

Write

learnpress/enroll-student

Manually enroll a student in a course without requiring checkout.

Get Course Details

Read-only

learnpress/get-course-details

Get full details and curriculum structure for a single course.

Get Courses

Read-only

learnpress/get-courses

List LearnPress courses with filtering by status, category, instructor, price range, and search, with pagination.

Get Enrollments

Read-only

learnpress/get-enrollments

List course enrollments with optional course, user, and status filters, with pagination.

Get Lesson Details

Read-only

learnpress/get-lesson-details

Get a lesson's full content, video intro, and attached materials.

Get Quiz Details

Read-only

learnpress/get-quiz-details

Get a quiz's duration, passing grade, question count, and grading rules.

Get Student Progress

Read-only

learnpress/get-student-progress

Get a student's enrollment status and course completion results.

List Lessons

Read-only

learnpress/list-lessons

List the lessons inside a course, optionally scoped to one curriculum section.

List Quizzes

Read-only

learnpress/list-quizzes

List the quizzes inside a course with pagination.

Update Course

Write

learnpress/update-course

Update an existing course's content, pricing, taxonomy assignments, and metadata.

Update Enrollment

Write

learnpress/update-enrollment

Update a course enrollment's status, graduation, or dates.

Update Lesson

Write

learnpress/update-lesson

Update a lesson's content, settings, or its position in the curriculum.

Update Quiz

Write

learnpress/update-quiz

Update a quiz's content, grading settings, or its position in the curriculum.

Update Quiz Question

Write

learnpress/update-quiz-question

Update a quiz question's text, type, or answer set.

Update Section

Write

learnpress/update-section

Rename, redescribe, or reorder a curriculum section in a course.

More Content & Tools plugins with abilities

All Content & Tools →

Use LearnPress's abilities with AI

Install Easy MCP AI on your WordPress site and any AI assistant can call these abilities in minutes.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.