File "class-package-version.php"
Full Path: /home/warrior1/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/class-package-version.php
File size: 637 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* The Package_Version class.
*
* @package automattic/jetpack-backup
*/
namespace Automattic\Jetpack\Backup;
/**
* The Package_Version class.
*/
class Package_Version {
const PACKAGE_VERSION = '1.10.0';
const PACKAGE_SLUG = 'backup';
/**
* Adds the package slug and version to the package version tracker's data.
*
* @param array $package_versions The package version array.
*
* @return array The packge version array.
*/
public static function send_package_version_to_tracker( $package_versions ) {
$package_versions[ self::PACKAGE_SLUG ] = self::PACKAGE_VERSION;
return $package_versions;
}
}