PHP 클래스 WP_CLI\LanguagePackUpgrader

상속: extends Language_Pack_Upgrader
파일 보기 프로젝트 열기: wp-cli/wp-cli

공개 메소드들

메소드 설명
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.