LLMS_Admin_Users_Table::modify_views( array $views )
Modify the list of role “view” filter links at the top of the user table.
Description Description
An instructor can only manage instructors and instructor’s assistants so we’ll remove these links from the list and additionally modify the count on the "All" filter to reflect the total number of users who are visible to the current instructor.
Parameters Parameters
- $views
-
(Required) Associative array of views where the key is the role name and the value is the HTML for the view link.
Return Return
(array)
Source Source
File: includes/admin/class-llms-admin-users-table.php
Changelog Changelog
Version | Description |
---|---|
3.34.0 | Introduced. |