wpmu_users_columns
Filters the columns displayed in the Network Admin Users list table.
Usage
add_filter( 'wpmu_users_columns', 'wp_kama_wpmu_users_columns_filter' ); /** * Function for `wpmu_users_columns` filter-hook. * * @param string[] $users_columns An array of user columns. * * @return string[] */ function wp_kama_wpmu_users_columns_filter( $users_columns ){ // filter... return $users_columns; }
- $users_columns(string[])
- An array of user columns.
Default: 'cb', 'username', 'name', 'email', 'registered', 'blogs'
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
wpmu_users_columns
wp-admin/includes/class-wp-ms-users-list-table.php 207
return apply_filters( 'wpmu_users_columns', $users_columns );