Plugin Directory

source: jetpack/trunk/jetpack_vendor/automattic/jetpack-connection/src/class-package-version.php @ 3056649

Last change on this file since 3056649 was 3056649, checked in by zinigor, 4 months ago

Updating trunk to version 13.2.2

File size: 647 bytes
Line 
1<?php
2/**
3 * The Package_Version class.
4 *
5 * @package automattic/jetpack-connection
6 */
7
8namespace Automattic\Jetpack\Connection;
9
10/**
11 * The Package_Version class.
12 */
13class Package_Version {
14
15        const PACKAGE_VERSION = '2.3.4';
16
17        const PACKAGE_SLUG = 'connection';
18
19        /**
20         * Adds the package slug and version to the package version tracker's data.
21         *
22         * @param array $package_versions The package version array.
23         *
24         * @return array The packge version array.
25         */
26        public static function send_package_version_to_tracker( $package_versions ) {
27                $package_versions[ self::PACKAGE_SLUG ] = self::PACKAGE_VERSION;
28                return $package_versions;
29        }
30}
Note: See TracBrowser for help on using the repository browser.