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

In this article

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

Parameters

$site_classesstring[]
Array of class names used within the span tag.
Default "site-#" with the site’s network ID.
$site_idint
Site ID.
$network_idint
Network ID.
$userWP_User
WP_User object.

Source

$site_classes = apply_filters( 'ms_user_list_site_class', $site_classes, $site->userblog_id, $site->site_id, $user );

Changelog

VersionDescription
5.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.