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.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/admin/class-llms-admin-users-table.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.34.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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