WP_Application_Passwords_List_Table::column_last_ip()publicWP 5.6.0

Handles the last ip column output.

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->column_last_ip( $item );
$item(array) (required)
The current application password item.

Changelog

Since 5.6.0 Introduced.

WP_Application_Passwords_List_Table::column_last_ip() code WP 6.5.2

public function column_last_ip( $item ) {
	if ( empty( $item['last_ip'] ) ) {
		echo '—';
	} else {
		echo $item['last_ip'];
	}
}