PHP Class Jetpack_JSON_API_Plugins_New_Endpoint, jetpack

Inheritance: extends Jetpack_JSON_API_Plugins_Endpoint
Afficher le fichier Open project: automattic/jetpack

Protected Properties

Свойство Type Description
$action
$needed_capabilities POST /sites/%s/plugins/new

Méthodes publiques

Méthode Description
install ( )

Méthodes protégées

Méthode 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 méthode

public install ( )

validate_call() protected méthode

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

validate_input() protected méthode

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