apply_filters( 'pre_wp_is_site_initialized', bool|null $pre, int $site_id )

Filters the check for whether a site is initialized before the database is accessed.


Description Description

Returning a non-null value will effectively short-circuit the function, returning that value instead.


Parameters Parameters

$pre

(bool|null) The value to return, if not null.

$site_id

(int) The site ID that is being checked.


Top ↑

Source Source

File: wp-includes/ms-site.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
5.1.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.