display_site_states

最后更新于:2021-11-26 07:56:12

apply_filters( ‘display_site_states’, array $site_states, GC_Site $site )

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

参数

$site_states

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

$site

(GC_Site)
The current site object.

源文件

文件: gc-admin/includes/class-gc-ms-sites-list-table.php

View on Trac