CodePress Admin Columns allows you to manage and organize columns, for posts, users, comments and media lists in the WordPress admin panel.
This little tweak allows you to add sorting to your columns. Add and adjust depending on the columns you have setup.
1 2 3 4 5 6 7 8 9 10 11 |
function admin_columns_users_registered_column_sortable( $columns ) { $custom = array( "column-user_registered" => "user_registered", ); return wp_parse_args( $custom, $columns ); } add_filter( "manage_users_sortable_columns", "admin_columns_users_registered_column_sortable" ); |