ms_user_list_site_class

最后更新于:2021-11-27 08:42:56

apply_filters( ‘ms_user_list_site_class’, string[] $site_classes, int $site_id, int $network_id, GC_User $user )

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

参数

$site_classes

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

$site_id

(int)
Site ID.

$network_id

(int)
Network ID.

$user

(GC_User)
GC_User object.

源文件

文件: gc-admin/includes/class-gc-ms-users-list-table.php

View on Trac