ms_site_check
Filters checking the status of the current blog.
Usage
add_filter( 'ms_site_check', 'wp_kama_ms_site_check_filter' );
/**
* Function for `ms_site_check` filter-hook.
*
* @param bool|null $check Whether to skip the blog status check.
*
* @return bool|null
*/
function wp_kama_ms_site_check_filter( $check ){
// filter...
return $check;
}
- $check(true|false|null)
- Whether to skip the blog status check.
Default: null
Changelog
| Since 3.0.0 | Introduced. |
Where the hook is called
ms_site_check
wp-includes/ms-load.php 83
$check = apply_filters( 'ms_site_check', null );