wpmu_users_columns WordPress Filter Hook

The wpmu_users_columns hook allows you to add custom columns to the WordPress Multi-site User list table. This is useful for displaying additional information about each user, such as their role on the site or their last login date.

apply_filters( 'wpmu_users_columns', string[] $users_columns ) #

Filters the columns displayed in the Network Admin Users list table.


Parameters

$users_columns

(string[])An array of user columns. Default 'cb', 'username', 'name', 'email', 'registered', 'blogs'.


Top ↑

Source

File: wp-admin/includes/class-wp-ms-users-list-table.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
MU (3.0.0)Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.