apply_filters( 'llms_display_student_dashboard', bool $is_user_logged-in )
Filters whether or not to display the student dashboard
Description Description
By default, this condition will show the dashboard to a logged in user and the login/registration forms (as well as the password recovery flow) to logged out users.
The LLMS_View_Manager
class uses this filter to modify the dashboard view conditionally based on the requested view role.
Parameters Parameters
- $is_user_logged-in
-
(bool) Whether or not the user is logged in.
Source Source
File: includes/functions/llms.functions.templates.dashboard.php
Changelog Changelog
Version | Description |
---|---|
4.16.0 | Introduced. |