learndash_get_lesson_id( int|null $post_id = null, int|null $course_id = null )

Gets the lesson ID of a resource.


Description Description


Parameters Parameters

$post_id

(Optional) ID of the resource.

Default value: null

$course_id

(Optional) ID of the course.

Default value: null


Top ↑

Return Return

(string) Lesson ID.


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.