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 Parameters


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


(int) Site ID.


(int) Network ID.


(WP_User) WP_User object.

Top ↑

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
5.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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