GC_Application_Passwords_List_Table::column_last_ip()
最后更新于:2021-11-26 09:15:16
GC_Application_Passwords_List_Table::column_last_ip( array$item)Handles the last ip column output.
参数
- $item
-
(array) (Required) The current application password item.
源文件
文件: gc-admin/includes/class-gc-application-passwords-list-table.php
public function column_last_ip( $item ) {
if ( empty( $item['last_ip'] ) ) {
echo '—';
} else {
echo $item['last_ip'];
}
}