WordPress at a glance
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_3259', 10, 4 );
function filter_function_name_3259( $site_classes, $site_id, $network_id, $user ){
	// filter...

	return $site_classes;
Class 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 352
$site_classes = apply_filters( 'ms_user_list_site_class', $site_classes, $val->userblog_id, $val->site_id, $user );

Where the hook is used (in WP core)

Использование не найдено.