WP_Application_Passwords_List_Table::column_last_used( array $item )

In this article

Handles the last used column output.

Parameters

$itemarrayrequired
The current application password item.

Source

public function column_last_used( $item ) {
	if ( empty( $item['last_used'] ) ) {
		echo '—';
	} else {
		echo date_i18n( __( 'F j, Y' ), $item['last_used'] );
	}
}

Changelog

VersionDescription
5.6.0Introduced.

User Contributed Notes

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