apply_filters( 'display_site_states', array $site_states, WP_Site $site )

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

Parameters Parameters


(array) An array of site states. Default 'Main', 'Archived', 'Mature', 'Spam', 'Deleted'.


(WP_Site) The current site object.

Top ↑

Source Source

File: wp-admin/includes/class-wp-ms-sites-list-table.php

View on Trac

Top ↑

Changelog Changelog

Version Description
5.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.