PHP Class Jetpack_JSON_API_Plugins_Install_Endpoint, jetpack

Inheritance: extends Jetpack_JSON_API_Plugins_Endpoint
Datei anzeigen Open project: automattic/jetpack

Protected Properties

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

Protected Methods

Method Description
generate_wordpress_org_plugin_download_link ( $plugin_slug )
get_plugin_id_by_slug ( $slug )
get_slug_from_file_path ( $plugin_file )
install ( )
validate_plugins ( )

Method Details

get_plugin_id_by_slug() protected static method

protected static get_plugin_id_by_slug ( $slug )

get_slug_from_file_path() protected static method

protected static get_slug_from_file_path ( $plugin_file )

install() protected method

protected install ( )

validate_plugins() protected method

protected validate_plugins ( )

Property Details

$action protected_oe property

protected $action

$needed_capabilities protected_oe property

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