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 ) ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |