W3cubDocs

/WordPress

apply_filters( 'ms_user_list_site_class', string[] $site_classes, int $site_id, int $network_id, WP_User $user )

Filters the span class for a site listing on the mulisite user list table.

Parameters

$site_classes

(string[]) Array of class names used within the span tag. Default "site-#" with the site's network ID.

$site_id

(int) Site ID.

$network_id

(int) Network ID.

$user

(WP_User) WP_User object.

Source

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

View on Trac

Changelog

Version Description
5.2.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/ms_user_list_site_class