ld_course_check_user_access( int $course_id, int|null $user_id = null )

Checks if the user has access to a course.


Description Description


Parameters Parameters

$course_id

(Required) Course ID.

$user_id

(Optional) User ID.

Default value: null


Top ↑

Return Return

(boolean) Returns true if the user has access otherwise false.


Top ↑

Source Source

File: includes/course/ld-course-user-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.