Un motore di ricerca WordPress per sviluppatori e autori di temi



display_site_states ›

Da5.3.0
Deprecaton/a
apply_filters( 'display_site_states', $site_states, $_site )
Parametri: (2)
  • (array) $site_states An array of site states. Default 'Main', 'Archived', 'Mature', 'Spam', 'Deleted'.
    Richiesto:
  • (WP_Site) $site The current site object.
    Richiesto:
Definito a:
Codex:

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





Sorgenti

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