WP_Application_Passwords_List_Table::column_last_ip( array $item )

In this article

Handles the last ip column output.

Parameters

$itemarrayrequired
The current application password item.

Source

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

Changelog

VersionDescription
5.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.