WPDev.one
Core Class

Plugin_Installer_Skin

class Plugin_Installer_Skin // Constructor: function Object() { [native code] }

Plugin Installer Skin for WordPress Plugin Installer.

Methods 5 methods

Method / Return Description
__construct()
void

Constructor.

Parameters: $args: mixed
before()
void

Performs an action before installing a plugin.

hide_process_failed()
bool

Hides the `process_failed` error when updating a plugin by uploading a zip file.

Parameters: $wp_error: mixed
after()
void

Performs an action following a plugin install.

do_overwrite()
bool

Checks if the plugin can be overwritten and outputs the HTML for overwriting a plugin on upload.

Properties

Property / Type Description
$api
mixed
public
No description available.
$type
mixed
public
No description available.
$url
mixed
public
No description available.
$overwrite
mixed
public
No description available.
$is_downgrading
mixed
public
No description available.

Class Information

Since Version
2.8.0
Source File
wp-admin/includes/class-plugin-installer-skin.php
Advertisement