wphooks.info - ms_site_check

ms_site_check

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/ms-load.php:
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
 */
function ms_site_check() {

	/**
	 * Filters checking the status of the current blog.
	 *
	 * @since 3.0.0
	 *
	 * @param bool null Whether to skip the blog status check. Default null.
	 */
	$check = apply_filters( 'ms_site_check', null );
	if ( null !== $check ) {
		return true;
	}

	// Allow super admins to see blocked sites
	if ( is_super_admin() ) {
		return true;
	}