Filters the check for whether a site is initialized before the database is accessed.
Returning a non-null value will effectively short-circuit the function, returning that value instead.
$prebool|null
$site_idint
$pre = apply_filters( 'pre_wp_is_site_initialized', null, $site_id );
| Version | Description |
|---|---|
| 5.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_wp_is_site_initialized