wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



ms_user_list_site_class › Filtr WordPress Hooks

Od5.2.0
Przestarzałyn/a
apply_filters( 'ms_user_list_site_class', $site_classes, $site->userblog_id, $site->site_id, $user )
Parametry: (4)
  • (string[]) $site_classes Array of class names used within the span tag. Default "site-#" with the site's network ID.
    Wymagane: Tak
  • (int) $site_id Site ID.
    Wymagane: Tak
  • (int) $network_id Network ID.
    Wymagane: Tak
  • (WP_User) $user WP_User object.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

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