Warning: This function has been deprecated. Determine the type of ID is being passed in. Should be the ID of anything that belongs to a course (Lesson, Topic, Quiz, etc) instead.

learndash_get_legacy_course_id( WP_Post|int|null $id = null )

Gets the legacy course ID for a resource.


Description Description


Parameters Parameters

$id

(Optional) ID of the resource.

Default value: null


Top ↑

Return Return

(string) ID of the course.


Top ↑

Source Source

File: includes/deprecated/3.4.0/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Determine the type of ID is being passed in. Should be the ID of anything that belongs to a course (Lesson, Topic, Quiz, etc).
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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