PHP Class Jetpack_JSON_API_Plugins_Endpoint, jetpack

Inheritance: extends Jetpack_JSON_API_Endpoint
Show file Open project: automattic/jetpack Class Usage Examples

Public Properties

Property Type Description
$_response_format

Protected Properties

Property Type Description
$bulk
$log
$network_wide
$plugins

Protected Methods

Method Description
format_plugin ( $plugin_file, $plugin_data )
get_plugin_updates ( $plugin_file )
get_plugins ( )
result ( )
validate_input ( $plugin )
validate_network_wide ( )
validate_plugin ( $plugin )
validate_plugins ( ) : boolean | WP_Error Walks through submitted plugins to make sure they are valid

Method Details

format_plugin() protected method

protected format_plugin ( $plugin_file, $plugin_data )

get_plugin_updates() protected method

protected get_plugin_updates ( $plugin_file )

get_plugins() protected method

protected get_plugins ( )

result() protected method

protected result ( )

validate_input() protected method

protected validate_input ( $plugin )

validate_network_wide() protected method

protected validate_network_wide ( )

validate_plugin() protected method

protected validate_plugin ( $plugin )

validate_plugins() protected method

Walks through submitted plugins to make sure they are valid
protected validate_plugins ( ) : boolean | WP_Error
return boolean | WP_Error

Property Details

$_response_format static public property

static public $_response_format

$bulk protected property

protected $bulk

$log protected property

protected $log

$network_wide protected property

protected $network_wide

$plugins protected property

protected $plugins