learndash_forced_lesson_time_cookie_key

learndash_forced_lesson_time_cookie_key( string|int|WP_Post $lesson_topic_post = '' )

Gets the lesson time cookie key for lesson/topic.


Description #


Parameters #

$lesson_topic_post

(string|int|WP_Post) (Optional) The WP_Post lesson topic post object or ID. Defaults to global post object.

Default value: ''


Return #

(string) The cookie key value or empty string.


Source #

File: includes/course/ld-course-progress.php


Changelog #

Changelog
Version Description
3.0.0 Introduced.