Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$site_classes

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

$site_id

Site ID.

$network_id

Network ID.

$user

WP_User object.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.

Advertisement

Leave a Reply