WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about pre_wp_is_site_initialized

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/ms-site.php apply_filters 908 /**
* 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.
*
* @since 5.1.0
*
* @param bool|null $pre The value to return instead. Default null
* to continue with the check.
* @param int $site_id The site ID that is being checked.
*/

Hook Parameters

Parameter Type Name Description
bool|null $pre The value to return instead. Default null
int $site_id The site ID that is being checked.