WordPress at Your Fingertips
function is not described

WP_Application_Passwords_List_Table::prepare_items() public WP 5.6.0

Prepares the list of items for displaying.

{} It's a method of the class: WP_Application_Passwords_List_Table{}

No Hooks.

Return

null. Nothing.

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.

Code of WP_Application_Passwords_List_Table::prepare_items() WP 5.8.2

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