Browse: Home / Hooks /

learndash_dashboard_is_enabled

apply_filters( 'learndash_dashboard_is_enabled',  bool $is_enabled,  string $view_slug,  LearnDashCoreTemplateDashboardsSectionsSection $section )

Filters whether the dashboard is enabled. Default true.


Description #


Parameters #

$is_enabled

(bool) Whether the dashboard is enabled.

$view_slug

(string) View slug.

$section

(LearnDashCoreTemplateDashboardsSectionsSection) Section.


Return #

(bool)


Source #

File: src/Core/Template/Admin_Views/Dashboards/Dashboard.php


Changelog #

Changelog
Version Description
4.9.0 Introduced.