PHP Class Jetpack_JSON_API_Plugins_Modify_Endpoint, jetpack

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

Protected Properties

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

Public Methods

Method Description
callback ( $path = '', $blog_id, $object = null )
default_action ( )
update_translations ( )

Protected Methods

Method Description
activate ( )
autoupdate_off ( )
autoupdate_on ( )
autoupdate_translations_off ( )
autoupdate_translations_on ( )
deactivate ( )
get_translation ( $translation )
update ( )

Method Details

activate() protected method

protected activate ( )

autoupdate_off() protected method

protected autoupdate_off ( )

autoupdate_on() protected method

protected autoupdate_on ( )

autoupdate_translations_off() protected method

autoupdate_translations_on() protected method

callback() public method

public callback ( $path = '', $blog_id, $object = null )

deactivate() protected method

protected deactivate ( )

default_action() public method

public default_action ( )

get_translation() protected method

protected get_translation ( $translation )

update() protected method

protected update ( )

update_translations() public method

public update_translations ( )

Property Details

$action protected_oe property

protected $action

$expected_actions protected_oe property

protected $expected_actions

$needed_capabilities protected_oe property

protected $needed_capabilities

$slug protected_oe property

POST /sites/%s/plugins
protected $slug