BP_Members_MS_List_Table::views()
Display the users screen views
Description Description
Source Source
File: bp-members/classes/class-bp-members-ms-list-table.php
public function views() { global $role; // Used to reset the role. $reset_role = $role; // Temporarly set the role to registered. $role = 'registered'; // Used to reset the screen id once views are displayed. $reset_screen_id = $this->screen->id; // Temporarly set the screen id to the users one. $this->screen->id = 'users-network'; // Use the parent function so that other plugins can safely add views. parent::views(); // Reset the role. $role = $reset_role; // Reset the screen id. $this->screen->id = $reset_screen_id; }
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |