- Added compatibility to allow definition of API credentials in constants as opposed to saving them to the database. See our docs for information on how this works: https://lifterlms.com/docs/lifterlms-stripe/#keys
The whole code is available in a gist here: https://gist.github.com/actual-saurabh/a59beef775b61c33629aa0824061de9c
Basic CSS and JS (jQuery) skills are needed to customise this recipe for some themes. Some basic understanding of WordPress APIs may be needed for additional customisation.
This has been tested successfully with many standard themes and should work well, as it is, for such themes.
The code here would work even if there’s no LifterLMS on your site, without any problems, to create a distraction free reading mode.
A note on Fullscreen API
Browsers don’t allow fullscreen without a user interaction. So, the fullscreen mode cannot persist between lessons. This means that a student would have to click a button on every screen to go into fullscreen mode. There is no way around it. See: https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API
Here’s a preview of what to expect from this recipe…
+ Added an action which fires when user consent is saved.
+ Fixed an issue causing an error when saving API credentials for the first time.
+ Fixed an issue preventing subscriptions from being created when consent is disabled via the `llms_mc_enable_consent` hook.
LLMS_Post_Modelfield should be added to the
customarray when converting the post to an array.
LLMS_Generatorclass to allow 3rd parties to easily generate content during course clone and import operations.
The LifterLMS Working Group will be meeting on April 17, 2019, 9-10am PT for our 3rd session. The focus of this month’s meeting will merge codes.
LifterLMS currently utilizes merge codes for engagements and notifications. In the future we plan for merge codes can be utilized in all areas of LifterLMS (including LMS and non-LMS posts and pages).
As the maintainers we’re in the very early phases of clarifying our thinking around how to make merge codes most useful to course creators and before we solidify any plans we look to the working group for feedback and guidance.
Join us live or leave comments below.
Check the events calendar for information on the event.
This is the initial (relatively) stable beta release of LifterLMS PayPal 2.0. There are a small number of known issues yet to be resolved. We urge against testing this release in production. Please see our beta testing guide for more information.
The following classes have been marked as deprecated and will be removed from LifterLMS PayPal in the next major release.
#developerson the LifterLMS Slack community.
LLMS_Abstract_API_Handlercan now prevent a request body from being sent.
'llms_' . $action . '_more'to allow customization of the “More” button text and url for student dashboard sections. Thanks @pondermatic.
nullinstead of false when no order is found and will return an
intinstead of a numeric string when an order is found.