sfwd_lms_access_redirect( int $post_id )

Redirects a user to the course page if it does not have access.


Description Description


Parameters Parameters

$post_id

(Required) The ID of the resource that belongs to a course.


Top ↑

Return Return

(boolean|void) Returns true if the user has access to the course.


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.