Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Pantheon
Terminus
Commands
Remote
WPCommand
PHP 클래스 Pantheon\Terminus\Commands\Remote\WPCommand
상속:
extends
SSHBaseCommand
파일 보기
프로젝트 열기: pantheon-systems/terminus
보호된 프로퍼티들
프로퍼티
타입
설명
$command
$unavailable_commands
$valid_frameworks
공개 메소드들
메소드
설명
wpCommand
(
string
$site_env_id
,
array
$wp_command
) :
string
Run an arbitrary WP-CLI commands on a site's environment
메소드 상세
wpCommand()
공개
메소드
Run an arbitrary WP-CLI commands on a site's environment
public
wpCommand
(
string
$site_env_id
,
array
$wp_command
) :
string
$site_env_id
string
Name of the environment to run the WP-CLI command on.
$wp_command
array
WP-CLI command to invoke on the environment
리턴
string
Output of the given WP-CLI command executed on the site environment
프로퍼티 상세
$command
보호되어 있는 프로퍼티
protected
$command
$unavailable_commands
보호되어 있는 프로퍼티
protected
$unavailable_commands
$valid_frameworks
보호되어 있는 프로퍼티
protected
$valid_frameworks