oont-contents/plugins/jetpack-boost/jetpack_vendor/automattic/jetpack-sync/src/class-package-version.php
2025-02-08 15:10:23 +01:00

30 lines
630 B
PHP

<?php
/**
* The Package_Version class.
*
* @package automattic/jetpack-sync
*/
namespace Automattic\Jetpack\Sync;
/**
* The Package_Version class.
*/
class Package_Version {
const PACKAGE_VERSION = '3.14.4';
const PACKAGE_SLUG = 'sync';
/**
* 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;
}
}