wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



ms_user_list_site_class › WordPress Filter Hooks

Seit5.2.0
Veraltetn/v
apply_filters( 'ms_user_list_site_class', $site_classes, $site->userblog_id, $site->site_id, $user )
Parameter: (4)
  • (string[]) $site_classes Array of class names used within the span tag. Default "site-#" with the site's network ID.
    Erforderlich: Ja
  • (int) $site_id Site ID.
    Erforderlich: Ja
  • (int) $network_id Network ID.
    Erforderlich: Ja
  • (WP_User) $user WP_User object.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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