WP_Users_List_Table::no_items() WordPress Method
The no_items() method is used to display a message when there are no users to display in the WP_Users_List_Table. This method is called by the WP_List_Table::display() method when there are no items to display. The no_items() method takes one argument, which is the string to display when there are no users to display. The default string is "No users found."
WP_Users_List_Table::no_items() #
Output ‘no users’ message.
Source
File: wp-admin/includes/class-wp-users-list-table.php
public function no_items() {
_e( 'No users found.' );
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |