Learndash_Course_Video
Class for handling the LearnDash Video Progression.
Description Description
Source Source
File: includes/course/ld-course-video.php
Changelog Changelog
Version | Description |
---|---|
2.4.0 | Introduced. |
Methods Methods
- __construct — LearnDash Vide Progress constructor.
- action_wp_footer — Add JS logic to the page footer.
- add_video_to_content — Hook into the LearnDash template logic to insert the Video Progression output
- build_video_cookie_key — Build unique video progress cookie key. This is used to track the video state in the user's browser.
- check_video_complete — Utility class method to allow add-hoc checks on video complete.
- get_instance
- get_nonce_slug — Utility function to get the nonce slug.
- is_video_cookie_complete — Check if video cookie 'video_state' is complete.
- learndash_completion_redirect — Redirect after Mark Complete is performed.
- process_mark_complete — Handle Mark Complete on Lesson or Topic with Video Progress enabled.