automattic / jetpack-status
Used to retrieve information about the current status of Jetpack and the site overall.
Installs: 2 191 580
Dependents: 31
Suggesters: 0
Security: 0
Stars: 3
Watchers: 4
Forks: 1
Type:jetpack-library
Requires
- php: >=7.2
- automattic/jetpack-constants: ^3.0.0
Requires (Dev)
- automattic/jetpack-changelogger: ^5.0.0
- automattic/jetpack-connection: @dev
- automattic/jetpack-ip: ^0.4.0
- automattic/jetpack-plans: @dev
- brain/monkey: 2.6.1
- yoast/phpunit-polyfills: ^1.1.1
Suggests
- automattic/jetpack-autoloader: Allow for better interoperability with other plugins that use this package.
- dev-trunk / 5.0.x-dev
- v5.0.0
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v3.3.5
- v3.3.4
- v3.3.3
- v3.3.2
- v3.3.1
- v3.3.0
- v3.2.3
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.0
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.2
- v2.0.1
- v2.0.0
- v1.19.0
- v1.18.5
- v1.18.4
- v1.18.3
- v1.18.2
- v1.18.1
- v1.18.0
- v1.17.2
- v1.17.1
- v1.17.0
- v1.16.4
- v1.16.3
- v1.16.2
- v1.16.1
- v1.16.0
- v1.15.4
- v1.15.3
- v1.15.2
- v1.15.1
- v1.15.0
- v1.14.3
- v1.14.2
- v1.14.1
- v1.14.0
- v1.13.6
- v1.13.4
- v1.13.3
- v1.13.2.1
- v1.13.2
- v1.13.1
- v1.13.0
- v1.12.0
- v1.11.2
- v1.11.0
- v1.10.0
- v1.9.5
- v1.9.4
- v1.9.3
- v1.9.2
- v1.9.1
- v1.9.0
- v1.8.4
- v1.8.3
- v1.8.2
- v1.8.1
- v1.8.0
- v1.7.6
- v1.7.5
- v1.7.4
- 1.7.3
- v1.7.2
- v1.7.1
- v1.7.0
- v1.6.0
- v1.5.0
- v1.4.0
- v1.3.0
- v1.2.0
- v1.1.1
- v1.1.0
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-prerelease
- dev-release-v1.13.2.1
- dev-release-v1.11.2
- dev-fix/slack-workflow-branch-detection
- dev-fix/release-branch-typo
- dev-update/generate-branch-plugin
- dev-release-v1.7.2
- dev-release-v1.7.1
- dev-feature/reorg
- dev-release-v1.7.0
- dev-release-v1.6.0
- dev-release-v1.5.0
- dev-release-v1.4.0
- dev-release-v1.3.0
- dev-release-v1.2.0
This package is auto-updated.
Last update: 2024-11-14 21:11:33 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)