Filters the default site display states for items in the Sites list table.
Parameters
$site_statesstring[]- An array of site states. Default
'Main','Archived','Mature','Spam','Deleted'. $siteWP_Site- The current site object.
Source
$site_states = apply_filters( 'display_site_states', $site_states, $_site );
Changelog
| Version | Description |
|---|---|
| 5.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.