Created
August 24, 2022 17:18
-
-
Save hayskytech/dc7ad6f26a3574f50ebfea42659ed047 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter('manage_users_columns','remove_users_columns'); | |
function remove_users_columns($column_headers) { | |
// if (current_user_can('moderator')) { | |
unset($column_headers['name']); | |
// } | |
return $column_headers; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment