WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about ms_user_list_site_class

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/class-wp-ms-users-list-table.php apply_filters 391 /**
* Filters the span class for a site listing on the mulisite user list table.
*
* @since 5.2.0
*
* @param string[] $site_classes Array of class names used within the span tag. Default "site-#" with the site's network ID.
* @param int $site_id Site ID.
* @param int $network_id Network ID.
* @param WP_User $user WP_User object.
*/

Hook Parameters

Parameter Type Name Description
string[] $site_classes Array of class names used within the span tag. Default "site-#" with the site's network ID.
int $site_id Site ID.
int $network_id Network ID.
WP_User $user WP_User object.