# jetpack/16.3/jetpack_vendor/automattic/jetpack-videopress/src/class-status.php

Jetpack – WP Security, Backup, Speed, &amp; Growth, version 16.3. 76 lines.

- Page: https://pluginprobe.com/plugins/jetpack/16.3/code/jetpack_vendor/automattic/jetpack-videopress/src/class-status.php
- Raw: https://pluginprobe.com/plugins/jetpack/16.3/raw/jetpack_vendor/automattic/jetpack-videopress/src/class-status.php
- Modified: 2025-11-24T17:00:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jetpack/16.3/code/jetpack_vendor/automattic/jetpack-videopress/src/class-status.php#L10-L20`.

```php
<?php
/**
 * The class that provides information about VideoPress Status
 *
 * @package automattic/jetpack-videopress
 */

namespace Automattic\Jetpack\VideoPress;

use Automattic\Jetpack\Modules;

/**
 * The class that provides information about VideoPress Status
 */
class Status {

	/**
	 * Returns whether VideoPress is active
	 * either as a Jetpack module or as a stand alone plugin
	 *
	 * @return boolean
	 */
	public static function is_active() {
		return self::is_jetpack_plugin_and_videopress_module_active() || self::is_standalone_plugin_active();
	}

	/**
	 * Checks whether the Jetpack plugin is active
	 */
	public static function is_jetpack_plugin_active() {
		return class_exists( 'Jetpack' );
	}

	/**
	 * Checks whether the Jetpack plugin
	 * and its VideoPress module are active.
	 *
	 * @return boolean
	 */
	public static function is_jetpack_plugin_and_videopress_module_active() {
		return class_exists( 'Jetpack' ) && ( new Modules() )->is_active( 'videopress' );
	}

	/**
	 * Checks whether the Jetpack plugin is active
	 * but the VideoPress module is not active.
	 *
	 * @since 0.28.2
	 *
	 * @return boolean
	 */
	public static function is_jetpack_plugin_without_videopress_module_active() {
		return class_exists( 'Jetpack' ) && ! ( new Modules() )->is_active( 'videopress' );
	}

	/**
	 * Checks whether the VideoPress stand alone plugin is active
	 *
	 * @return boolean
	 */
	public static function is_standalone_plugin_active() {
		return class_exists( 'Jetpack_VideoPress_Plugin' );
	}

	/**
	 * Checks whether the registrant plugin is active
	 * either as a Jetpack module (via Jetpack plugin)
	 * or as a stand-alone plugin.
	 *
	 * @return boolean True if the register plugin is active.
	 */
	public static function is_registrant_plugin_active() {
		return self::is_jetpack_plugin_active() || self::is_standalone_plugin_active();
	}
}

```
