WordPress at a glance
filter is not described

pre_wp_is_site_initialized filter-hook . WP 5.1.0

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.


add_filter( 'pre_wp_is_site_initialized', 'filter_function_name_6703', 10, 2 );
function filter_function_name_6703( $pre, $site_id ){
	// filter...

	return $pre;
The value to return, if not null.
The site ID that is being checked.


Since 5.1.0 Introduced.

Where the hook is called

wp-includes/ms-site.php 938
$pre = apply_filters( 'pre_wp_is_site_initialized', null, $site_id );

Where the hook is used (in WP core)

Usage not found!