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

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


Parameters Parameters

$site_states

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

$site

(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

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.