Filter hook 'ms_user_list_site_class'

in WP Core File wp-admin/includes/class-wp-ms-users-list-table.php at line 398

Description

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

Occurrences

Filename Line Number
wp-admin/includes/class-wp-ms-users-list-table.php 398

Parameters

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.

PHP Doc

/**
			 * Filters the span class for a site listing on the multisite 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.
			 */