WP_Application_Passwords_List_Table::prepare_items() WordPress Method

The WP_Application_Passwords_List_Table::prepare_items() method is used to prepare the items for display in the list table. This includes doing a full query of the items, sorting the items, and paginating the items.

WP_Application_Passwords_List_Table::prepare_items() #

Prepares the list of items for displaying.


Source

File: wp-admin/includes/class-wp-application-passwords-list-table.php

	public function prepare_items() {
		global $user_id;
		$this->items = array_reverse( WP_Application_Passwords::get_user_application_passwords( $user_id ) );
	}


Top ↑

Changelog

Changelog
VersionDescription
5.6.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.