Core Function
View Source on Trac ↗ wp_is_site_initialized()
wp_is_site_initialized( mixed $site_id ) Checks whether a site is initialized.
Parameters 1 required
| Name / Type | Description |
|---|---|
| (int | | WP_Site) $site_id Site ID or object. Required |
Return Value
(bool)
True if the site is initialized, false otherwise.
Function Information
Since Version
5.1.0
Source File
wp-includes/ms-site.php
Advertisement