[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/includes/ -> class-plugin-installer-skin.php (summary)

Upgrader API: Plugin_Installer_Skin class

File Size: 355 lines (12 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Plugin_Installer_Skin:: (5 methods):
  __construct()
  before()
  hide_process_failed()
  after()
  do_overwrite()


Class: Plugin_Installer_Skin  - X-Ref

Plugin Installer Skin for WordPress Plugin Installer.

__construct( $args = array()   X-Ref
Constructor.

Sets up the plugin installer skin.

param: array $args

before()   X-Ref
Performs an action before installing a plugin.


hide_process_failed( $wp_error )   X-Ref
Hides the `process_failed` error when updating a plugin by uploading a zip file.

param: WP_Error $wp_error WP_Error object.
return: bool True if the error should be hidden, false otherwise.

after()   X-Ref
Performs an action following a plugin install.


do_overwrite()   X-Ref
Checks if the plugin can be overwritten and outputs the HTML for overwriting a plugin on upload.

return: bool Whether the plugin can be overwritten and HTML was outputted.



Generated : Wed Dec 25 08:20:01 2024 Cross-referenced by PHPXref