Composer

InstalledVersions::getRootPackage()public staticWPSCache 1.0

Method of the class: InstalledVersions{}

No Hooks.

Return

Array.

Usage

$result = InstalledVersions::getRootPackage();

InstalledVersions::getRootPackage() code WPSCache 1.9.2

public static function getRootPackage()
{
    $installed = self::getInstalled();

    return $installed[0]['root'];
}