A WordPress-centric search engine for devs and theme authors



ms_user_list_site_class ›

Since5.2.0
Deprecatedn/a
apply_filters( 'ms_user_list_site_class', $site_classes, $val->userblog_id, $val->site_id, $user )
Parameters: (4)
  • (array) $site_classes Class 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
  • (object) $user WP_User object.
    Required: Yes
Defined at:
Codex:

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





Source

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