Summery Summery
Filters the check for whether a site is initialized before the database is accessed.
Syntax Syntax
Description Description
Returning a non-null value will effectively short-circuit the function, returning that value instead.
Parameters Parameters
- $pre
-
The value to return instead. Default null to continue with the check.
- $site_id
-
The site ID that is being checked.
Source Source
File: wp-includes/ms-site.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.1.0 | Introduced. |