PHP Класс WP_CLI\CoreUpgrader

Наследование: extends Core_Upgrader
Показать файл Открыть проект

Открытые методы

Метод Описание
download_package ( string $package ) : string | WP_Error Caches the download, and uses cached if available.

Описание методов

download_package() публичный Метод

Caches the download, and uses cached if available.
public download_package ( string $package ) : string | WP_Error
$package string The URI of the package. If this is the full path to an existing local file, it will be returned untouched.
Результат string | WP_Error The full path to the downloaded package file, or a WP_Error object.