PHP Class Jetpack_JSON_API_Plugins_New_Endpoint, jetpack

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

Protected Properties

Property Type Description
$action
$needed_capabilities POST /sites/%s/plugins/new

Public Methods

Method Description
install ( )

Protected Methods

Method Description
validate_call ( $_blog_id, $capability, $check_manage_active = true )
validate_input ( $plugin ) no need to try to validate the plugin since we didn't pass one in.

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

no need to try to validate the plugin since we didn't pass one in.
protected validate_input ( $plugin )

Property Details

$action protected_oe property

protected $action

$needed_capabilities protected_oe property

POST /sites/%s/plugins/new
protected $needed_capabilities