Remove Columns from the User Admin List Page?
-
I need to remove a few columns from the Users list page (users.php) on the admin pages in WordPress. I see how to add columns, both in the forum here and looking at the code base. What I don’t see is a way to selectively “unset” columns or otherwise remove columns the way you can in other parts of the admin interface on other pages. Is there a way to do this?
I do see a class in this file:
wp-admin/includes/class-wp-users-list-table.php
Specifically, a get_columns function and single_row function in the WP_Users_List_Table class within this file.
Are there actions/filters that can pre-empt and redefine which columns appear on the Users list page (users.php)? Or do I have to manually edit a core file in WP?
Thanks for any direction.
- The topic ‘Remove Columns from the User Admin List Page?’ is closed to new replies.