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



display_site_states › WordPress Filter Hooks

Seit5.3.0
Veraltetn/v
apply_filters( 'display_site_states', $site_states, $_site )
Parameter: (2)
  • (string[]) $site_states An array of site states. Default 'Main', 'Archived', 'Mature', 'Spam', 'Deleted'.
    Erforderlich: Ja
  • (WP_Site) $site The current site object.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the default site display states for items in the Sites list table.





Quellcode

$site_states = apply_filters( 'display_site_states', $site_states, $_site );