Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$site_states

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

$site

(WP_Site) The current site object.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.3.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.