PluginProbe
QuadMenu – Mega Menu / 3.3.7
QuadMenu – Mega Menu v3.3.7
3.3.8 3.3.7 3.3.6 trunk 1.8.4 1.8.5 1.8.7 1.8.8 1.8.9 1.9.0 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 88 releases
quadmenu / jetpack_vendor / automattic / jetpack-status / README.md

README.md in QuadMenu – Mega Menu 3.3.7, at jetpack_vendor/automattic/jetpack-status/README.md

46 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 # Jetpack Status
2
3 A status class for Jetpack.
4
5 Used to retrieve information about the current status of Jetpack and the site overall.
6
7 ### Usage
8
9 Find out whether the site is in offline mode:
10
11 ```php
12 use Automattic\Jetpack\Status;
13
14 $status = new Status();
15 $is_offline_mode = $status->is_offline_mode();
16 ```
17
18 Find out whether this is a system with multiple networks:
19
20 ```php
21 use Automattic\Jetpack\Status;
22
23 $status = new Status();
24 $is_multi_network = $status->is_multi_network();
25 ```
26
27 Find out whether this site is a single user site:
28
29 ```php
30 use Automattic\Jetpack\Status;
31
32 $status = new Status();
33 $is_single_user_site = $status->is_single_user_site();
34 ```
35 ## Using this package in your WordPress plugin
36
37 If you plan on using this package in your WordPress plugin, we would recommend that you use [](https://packagist.org/packages/automattic/jetpack-autoloaderJetpack Autoloader](https://packagist.org/packages/automattic/jetpack-autoloader](https://packagist.org/packages/automattic/jetpack-autoloader) as your autoloader. This will allow for maximum interoperability with other plugins that use this package as well.
38
39 ## Security
40
41 Need to report a security vulnerability? Go to [](https://automattic.com/security/https://automattic.com/security/](https://automattic.com/security/](https://automattic.com/security/) or directly to our security bug bounty site [](https://hackerone.com/automattichttps://hackerone.com/automattic](https://hackerone.com/automattic](https://hackerone.com/automattic).
42
43 ## License
44
45 jetpack-status is licensed under [](./LICENSE.txtGNU General Public License v2 (or later)](./LICENSE.txt](./LICENSE.txt)
46