Filters the default site display states for items in the Sites list table.
$site_statesstring[]
'Main', 'Archived', 'Mature', 'Spam', 'Deleted'.$siteWP_Site
$site_states = apply_filters( 'display_site_states', $site_states, $_site );
| Version | Description |
|---|---|
| 5.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/display_site_states