I found out how to create a column in the Users list, however I am still looking through the docs for the EOT Constants/Variables.... I'll get back to you if I figure it out, but here's the current code I have:
- Code: Select all
<?php
//Two main filters,
add_filter('manage_users_columns', 'add_eot_column');
add_filter('manage_users_custom_column', 'view_eot_column', 10, 3);
function add_eot_column($columns) {
$columns['current_eot'] = 'EOT';
return $columns;
}
function view_eot_column($empty='', $column_name, $id) {
if( $column_name == 'current_eot' ) {
//The return below is what is shown.
return ;
}
}
?>
This, as it is, only creates the column with the name of EOT.
I'll look at it a bit more.
BTW, found the original code here:
http://wordpress.org/support/topic/mana ... ?replies=6