PHP 클래스 WP_AutoUpdate

파일 보기 프로젝트 열기: folbert/fewbricks

공개 메소드들

메소드 설명
__construct ( string $current_version, string $update_path, string $plugin_slug, $license_user = '', $license_key = '' ) Initialize a new instance of the WordPress Auto-Update class
check_info ( boolean $false, array $action, object $arg ) : boolean | object Add our self-hosted description to the filter
check_update ( $transient ) : object Add our self-hosted autoupdate plugin to the filter transient
getRemote ( $action = '' ) : string Return the remote version

메소드 상세

__construct() 공개 메소드

Initialize a new instance of the WordPress Auto-Update class
public __construct ( string $current_version, string $update_path, string $plugin_slug, $license_user = '', $license_key = '' )
$current_version string
$update_path string
$plugin_slug string

check_info() 공개 메소드

Add our self-hosted description to the filter
public check_info ( boolean $false, array $action, object $arg ) : boolean | object
$false boolean
$action array
$arg object
리턴 boolean | object

check_update() 공개 메소드

Add our self-hosted autoupdate plugin to the filter transient
public check_update ( $transient ) : object
$transient
리턴 object $ transient

getRemote() 공개 메소드

Return the remote version
public getRemote ( $action = '' ) : string
리턴 string $remote_version