Your IP : 3.12.136.63


Current Path : /proc/self/root/home/sudancam/public_html3/games/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-videopress/src/
Upload File :
Current File : //proc/self/root/home/sudancam/public_html3/games/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-videopress/src/class-status.php

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

namespace Automattic\Jetpack\VideoPress;

use Jetpack;

/**
 * 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_active() || self::is_standalone_plugin_active();
	}

	/**
	 * Returns whether the Jetpack plugin and its VideoPress module are active
	 *
	 * @return boolean
	 */
	public static function is_jetpack_active() {
		return class_exists( 'Jetpack' ) && Jetpack::is_module_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' );
	}
}