PHP Class Jetpack_JSON_API_Themes_New_Endpoint, jetpack

Inheritance: extends Jetpack_JSON_API_Themes_Endpoint
Mostrar archivo Open project: automattic/jetpack

Protected Properties

Property Type Description
$action
$download_links
$needed_capabilities POST /sites/%s/themes/%s/install

Public Methods

Method Description
install ( )

Protected Methods

Method Description
validate_call ( $_blog_id, $capability, $check_manage_active = true )
validate_input ( $theme )

Method Details

install() public method

public install ( )

validate_call() protected method

protected validate_call ( $_blog_id, $capability, $check_manage_active = true )

validate_input() protected method

protected validate_input ( $theme )

Property Details

$action protected_oe property

protected $action

$needed_capabilities protected_oe property

POST /sites/%s/themes/%s/install
protected $needed_capabilities