Undoing removal of default columns on Users page

[ad_1]

Some of the default columns in the Users section of WordPress were removed with this code:

function remove_users_columns( $columns ) {

    unset( $columns['posts'] );
    unset( $columns['name'] );

    return $columns;
}
add_filter( 'manage_users_columns', 'remove_users_columns' );

I’ve searched far and wide to undo the removal of columns but have come up short. Lend a hand?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer