automattic/jetpack-status

Used to retrieve information about the current status of Jetpack and the site overall.

Package info

github.com/Automattic/jetpack-status

Type:jetpack-library

pkg:composer/automattic/jetpack-status

Statistics

Installs: 3 995 711

Dependents: 44

Suggesters: 0

Stars: 5

v6.1.8 2026-06-15 12:15 UTC

Requires

Suggests

Provides

None

Conflicts

None

Replaces

None

GPL-2.0-or-later fe0bc0d426dd95386586556d94a360d3184b8a4a

This package is auto-updated.

Last update: 2026-06-15 23:59:25 UTC


README

A status class for Jetpack.

Used to retrieve information about the current status of Jetpack and the site overall.

Usage

Find out whether the site is in offline mode:

use Automattic\Jetpack\Status;

$status = new Status();
$is_offline_mode = $status->is_offline_mode();

Find out whether this is a system with multiple networks:

use Automattic\Jetpack\Status;

$status = new Status();
$is_multi_network = $status->is_multi_network();

Find out whether this site is a single user site:

use Automattic\Jetpack\Status;

$status = new Status();
$is_single_user_site = $status->is_single_user_site();

Using this package in your WordPress plugin

If you plan on using this package in your WordPress plugin, we would recommend that you use Jetpack Autoloader as your autoloader. This will allow for maximum interoperability with other plugins that use this package as well.

Security

Need to report a security vulnerability? Go to https://automattic.com/security/ or directly to our security bug bounty site https://hackerone.com/automattic.

License

jetpack-status is licensed under GNU General Public License v2 (or later)