WordPress at Your Fingertips
filter is not described

ms_user_list_site_class filter-hook . WP 5.2.0

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


add_filter( 'ms_user_list_site_class', 'filter_function_name_5578', 10, 4 );
function filter_function_name_5578( $site_classes, $site_id, $network_id, $user ){
	// filter...

	return $site_classes;
Array of class names used within the span tag. with the site's network ID.
Default: "site-#"
Site ID.
Network ID.
WP_User object.

Where the hook is called

wp-admin/includes/class-wp-ms-users-list-table.php 386
$site_classes = apply_filters( 'ms_user_list_site_class', $site_classes, $val->userblog_id, $val->site_id, $user );

Where in WP core the hook is used WordPress

Usage not found.