learndash_forced_lesson_time_cookie_key( string|int|WP_Post $lesson_topic_post = '' )
Gets the lesson time cookie key for lesson/topic.
Description Description
Parameters Parameters
- $lesson_topic_post
-
(Optional) The
WP_Post
lesson topic post object or ID. Defaults to global post object.Default value: ''
Return Return
(string) The cookie key value or empty string.
Source Source
File: includes/course/ld-course-progress.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |