Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Admin_Reporting::get_tab_cap( string $tab = null )
Get the WP capability required to access a reporting tab Defaults to ‘view_lifterlms_reports’ — most reports implement additional permissions within the view Sales & Enrollments tab require ‘view_others_lifterlms_reports’ b/c they don’t add any additional filters within the view
Description Description
Parameters Parameters
- $tab
-
(Optional) id/slug of the tab
Default value: null
Return Return
(string)
Source Source
File: includes/admin/reporting/class.llms.admin.reporting.php
Changelog Changelog
Version | Description |
---|---|
3.19.4 | Introduced. |