wpseek.com
A WordPress-centric search engine for devs and theme authors



ms_user_list_site_class › WordPress Filter Hooks

Since5.2.0
Deprecatedn/a
apply_filters( 'ms_user_list_site_class', $site_classes, $site->userblog_id, $site->site_id, $user )
Parameters: (4)
  • (string[]) $site_classes Array of class names used within the span tag. Default "site-#" with the site's network ID.
    Required: Yes
  • (int) $site_id Site ID.
    Required: Yes
  • (int) $network_id Network ID.
    Required: Yes
  • (WP_User) $user WP_User object.
    Required: Yes
Defined at:
Codex:

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





Source

$site_classes = apply_filters( 'ms_user_list_site_class', $site_classes, $site->userblog_id, $site->site_id, $user );