WP_Application_Passwords_List_Table::prepare_items()
Prepares the list of items for displaying.
Method of the class: WP_Application_Passwords_List_Table{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WP_Application_Passwords_List_Table = new WP_Application_Passwords_List_Table(); $WP_Application_Passwords_List_Table->prepare_items();
Notes
- Global. Int. $user_id User ID.
Changelog
Since 5.6.0 | Introduced. |
WP_Application_Passwords_List_Table::prepare_items() WP Application Passwords List Table::prepare items code WP 6.6.2
public function prepare_items() { global $user_id; $this->items = array_reverse( WP_Application_Passwords::get_user_application_passwords( $user_id ) ); }