Remove column from user list at admin side in wordpress.
wordpress

Remove column from user list at admin side in wordpress.

KrikaSoft
14 Jan 2014 05:50

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;
}