automattic / jetpack-status
用于检索Jetpack和网站整体当前状态的信息。
v4.0.1
2024-09-06 15:32 UTC
Requires
- php: >=7.0
- automattic/jetpack-constants: ^2.0.4
Requires (Dev)
- automattic/jetpack-changelogger: ^4.2.6
- automattic/jetpack-connection: @dev
- automattic/jetpack-ip: ^0.2.3
- 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 / 4.0.x-dev
- 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-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-09-20 20:45:36 UTC
README
Jetpack的状态类。
用于检索Jetpack和网站整体当前状态的信息。
用法
确定网站是否处于离线模式
use Automattic\Jetpack\Status; $status = new Status(); $is_offline_mode = $status->is_offline_mode();
确定这是否是具有多个网络的系统
use Automattic\Jetpack\Status; $status = new Status(); $is_multi_network = $status->is_multi_network();
确定此网站是否是单用户网站
use Automattic\Jetpack\Status; $status = new Status(); $is_single_user_site = $status->is_single_user_site();
在您的WordPress插件中使用此包
如果您计划在WordPress插件中使用此包,我们建议您使用Jetpack Autoloader作为自动加载器。这将允许与其他使用此包的插件实现最大互操作性。
安全
需要报告安全漏洞?请访问https://automattic.com/security/或直接访问我们的安全漏洞赏金网站https://hackerone.com/automattic。
许可
jetpack-status遵循GNU通用公共许可证第2版(或更新版)