ms_site_check


ms_site_check ( No parameters )

Returns:
  • (true|string) Returns true on success, or drop-in file to include.
Defined at:

Description

Checks status of current blog.

Checks if the blog is deleted, inactive, archived, or spammed.

Dies with a default message if the blog does not pass the check.

To change the default message when a blog does not pass the check, use the wp-content/blog-deleted.php, blog-inactive.php and blog-suspended.php drop-ins.

Related Functions

ms_is_switched, _wp_json_sanity_check, _prime_site_caches, make_site_theme, wp_auth_check

Top Google Results

User discussions

wpseek mobile