Filter hook 'display_site_states'
in WP Core File wp-admin/includes/class-wp-ms-sites-list-table.php at line 671
Description
Filters the default site display states for items in the Sites list table.
Occurrences
Filename |
Line Number |
wp-admin/includes/class-wp-ms-sites-list-table.php |
671 |
Parameters
Type |
Name |
Description |
string[] |
$site_states |
An array of site states. Default 'Main', 'Archived', 'Mature', 'Spam', 'Deleted'. |
WP_Site |
$site |
The current site object. |
PHP Doc
/**
* Filters the default site display states for items in the Sites list table.
*
* @since 5.3.0
*
* @param string[] $site_states An array of site states. Default 'Main',
* 'Archived', 'Mature', 'Spam', 'Deleted'.
* @param WP_Site $site The current site object.
*/