Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 

README.md

Jetpack Status

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 development mode:

use Automattic\Jetpack\Status;

$status = new Status();
$is_development_mode = $status->is_development_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();

About

Jetpack Status. This repository is a mirror, for issue tracking and development head to: https://github.com/automattic/jetpack

Resources

Languages

You can’t perform that action at this time.