=== Premium Courses & eLearning for Members with Paid Memberships Pro, LearnDash, & LifterLMS ===
Contributors: strangerstudios, paidmembershipspro, kimannwall, jarryd-long
Tags: course, education, elearning, lms, membership, pmpro
Requires at least: 5.4
Tested up to: 5.9
Stable tag: 1.0.5
Requires PHP: 5.6
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Create, protect, and sell courses with recurring subscriptions for Paid Memberships Pro, LearnDash, and LifterLMS.

== Description ==

### The best way to protect and sell members-only courses with recurring subscriptions for WordPress.

This is a multi-purpose plugin that offers native course functionality for Paid Memberships Pro. With built-in features, you can:

* Create unlimited private courses and lessons
* Protect access to course content by membership level
* Accept free, one-time payment, or recurring subscriptions for course enrollment
* Track lesson completion by user

If you are already using a course platform or require more functionality, use the integrated modules for LearnDash and LifterLMS, two of the most popular WordPress learning management systems. This plugin will enroll and unenroll members from protected courses based on their active membership level and subscriptions.

### Courses and Lessons with PMPro

The default courses module organizes your course content, protects access by membership level, and tracks lesson completion. You can create an unlimited number of courses and lessons, organize them by your course categories, protect lesson content by membership level, and allow members to track lesson completion.

Refer to our [Default Course and Lesson documentation for help protecting courses](https://www.paidmembershipspro.com/add-ons/pmpro-courses-lms-integration/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=pmpro-courses&utm_content=courses-default#default-module) using this module.

### Protect LearnDash Courses

LearnDash turns your WordPress site into a learning management system. This premium software manages various e-learning components including courses, lessons, sections, topics, and quizzes. Our Courses for Membership Add On creates a bridge between the content protections of PMPro and the course functionality of LearnDash.

Refer to our [LearnDash documentation for help protecting courses](https://www.paidmembershipspro.com/add-ons/pmpro-courses-lms-integration/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=pmpro-courses&utm_content=courses-learndash#learndash-module) using this module.

## Protect LifterLMS Courses

LifterLMS is an e-learning plugin for WordPress that is available for free in the WordPress.org plugin repository. The software includes courses, lessons, quizzes, achievement badges, and more. Our Courses for Membership Add On creates a bridge between the content protections of PMPro and the course functionality of LifterLMS.

LifterLMS includes their own features for course enrollment and course membership. You should use this Add On if you are not using their membership features and instead want PMPro to manage your members and membership registrations. This Add On is specifically written to enroll and unenroll members from the courses available for their level.

Refer to our [LifterLMS documentation for help protecting courses](https://www.paidmembershipspro.com/add-ons/pmpro-courses-lms-integration/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=pmpro-courses&utm_content=courses-lifterlms#lifterlms-module) using this module.

Learn more about [protecting and selling courses for your membership](https://www.paidmembershipspro.com/add-ons/pmpro-courses-lms-integration/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=pmpro-courses) in our documentation site.

### About Paid Memberships Pro

[Paid Memberships Pro is a WordPress membership plugin](https://www.paidmembershipspro.com/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=pmpro-courses) that puts you in control. Create what you want and release in whatever format works best for your business.

* Courses & E-Learning
* Private Podcasts
* Premium Newsletters
* Private Communities
* Sell Physical & Digital Goods

Paid Memberships Pro allows anyone to build a membership site—for free. Restrict content, accept payment, and manage subscriptions right from your WordPress admin.

Paid Memberships Pro is built "the WordPress way" with a lean core plugin and over 75 Add Ons to enhance every aspect of your membership site. Each business is different and we encourage customization. For our members we have a library of 300+ recipes to personalize your membership site.

Paid Memberships Pro is the flagship product of Stranger Studios. We are a bootstrapped company which grows when membership sites like yours grow. That means we focus our entire company towards helping you succeed.

[Try Paid Memberships Pro entirely for free on WordPress.org](https://wordpress.org/plugins/paid-memberships-pro/) and see why 100,000+ sites trust us to help them #GetPaid.

### Read More

Want more information on protecting course content with Paid Memberships Pro, LearnDash or LifterLMS and WordPress membership sites? Have a look at:

* The [Paid Memberships Pro](https://www.paidmembershipspro.com/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=pmpro-courses) official homepage.
* The [Courses for Membership PMPro documentation page](https://www.paidmembershipspro.com/add-ons/pmpro-courses-lms-integration/?utm_source=wordpress-org&utm_medium=readme&utm_campaign=pmpro-courses).
* Also follow PMPro on [Twitter](https://twitter.com/pmproplugin), [YouTube](https://www.youtube.com/channel/UCFtMIeYJ4_YVidi1aq9kl5g) & [Facebook](https://www.facebook.com/PaidMembershipsPro/).

== Installation ==

Note: You must have [Paid Memberships Pro](https://wordpress.org/plugins/paid-memberships-pro/) installed and activated on your site.

### Install PMPro Courses from within WordPress

1. Visit the plugins page within your dashboard and select "Add New"
1. Search for "PMPro Courses"
1. Locate this plugin and click "Install"
1. Activate "Paid Memberships Pro - Courses for Membership" through the "Plugins" menu in WordPress
1. Go to "after activation" below.

### Install PMPro Courses Manually

1. Upload the `pmpro-courses` folder to the `/wp-content/plugins/` directory
1. Activate "Paid Memberships Pro - Courses for Membership" through the "Plugins" menu in WordPress
1. Go to "after activation" below.

### After Activation: Configure Course Modules

Navigate to Memberships > Courses in the WordPress admin to configure modules.

The Courses settings page controls which modules are active in your membership site. In most cases, you will only need to have one module active at a time. Navigate to Memberships > Courses to choose from the following settings:

1. Default Module: Use the built-in course and lesson custom post types to build a basic e-learning component in your WordPress membership site.
1. LearnDash: Enable the LearnDash module to enable course protection by membership level for your courses in the LearnDash LMS.
1. LifterLMS: Enable the LifterLMS module to enable course protection by membership level for your courses in LifterLMS.

Note: This Add On does not include any update scripts to manage enrollment for existing members. For the LearnDash and LifterLMS modules, all members who have an existing membership level will not be automatically enrolled in courses. Course protection and enrollment is hooked in the level change event: only new members or members that cancel or change their level will be updated. You must manually add and remove current members from protected courses.

The default (built-in) module does not rely on enrollment and will not require any update script.

== Frequently Asked Questions ==

= I found a bug in the plugin. =

Please post it in the issues section of GitHub and we'll fix it as soon as we can. Thanks for helping. [https://github.com/strangerstudios/pmpro-mailchimp/issues](https://github.com/strangerstudios/pmpro-courses/issues)

= I need help installing, configuring, or customizing the plugin. =

Please visit [our support site at https://www.paidmembershipspro.com](http://www.paidmembershipspro.com/) for more documentation and our support forums.

== Screenshots ==

1. Settings page to enable course modules for built-in CPT, LearnDash, and LifterLMS.
2. Courses post type screen shows number of lessons and required membership levels.
3. Edit a single course to add public overview content, add and reorder lessons, categorize the courese, and add membership requirements.
4. A course page on the site frontend showing overview content, a registration box with required levels, and a list of lessons.

== Changelog ==

= 1.0.5 - 2022-01-31 =
* BUG FIX: Fixed an issue where lesson count wasn't showing inside both shortcodes. (printf too few arguments).
* ENHANCEMENT: Improved padding for table header cells to match .widefat td in the lessons metabox.
* ENHANCEMENT: Added the WP POT/PO/MO Generator action for localizing.
* ENHANCEMENT: Tested up to WordPress 5.9.

= 1.0.4 - 2021-12-23 =
* SECURITY: Added an additional permissions check before saving settings.

= 1.0.3 - 2021-12-23 =
* BUG FIX: Fixed issues with saving course module settings.
* Now requiring PHP 5.6+ to match minimum requirements for Paid Memberships Pro.

= 1.0.2 - 2021-07-23 =
* BUG FIX: Fixed issues with saving lessons from the edit post page.

= 1.0.1 - 2021-07-15 =
* BUG FIX: Now waiting until plugin_loaded before loading modules to make sure other LMS plugins are active.

= 1.0 =
* Initial release.
