Remove column from user list at admin side in wordpress.

To remove any column from user list at admin side in wordpress follow the bellow code.

 

/* Huck action to call function */

add_action(‘manage_users_columns’,’remove_user_my_column’);

 

/* Function which is removing the username column from list*/

 

function remove_user_my_column($column_headers) {

unset($column_headers[‘username’]);

return $column_headers;

}