Composer
InstalledVersions::getRootPackage()
Method of the class: InstalledVersions{}
No Hooks.
Return
Array
.
Usage
$result = InstalledVersions::getRootPackage();
InstalledVersions::getRootPackage() InstalledVersions::getRootPackage code WPSCache 1.12.4
public static function getRootPackage() { $installed = self::getInstalled(); return $installed[0]['root']; }