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.' );
	}


Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.