wp_is_site_initialized

Advertisement

Summery Summery

Checks whether a site is initialized.

Syntax Syntax

wp_is_site_initialized( int|WP_Site $site_id )

Description Description

A site is considered initialized when its database tables are present.

Parameters Parameters

$site_id

(int|WP_Site) (Required) Site ID or object.

Return Return

(bool) True if the site is initialized, false otherwise.

Source Source

File: wp-includes/ms-site.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
5.1.0 Introduced.

Advertisement

Leave a Reply

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