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.


Top ↑

Parameters Parameters

$is_user_logged-in

(bool) Whether or not the user is logged in.


Top ↑

Source Source

File: includes/functions/llms.functions.templates.dashboard.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
4.16.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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