[ 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: 349 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

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.

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

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 : Tue Apr 23 08:20:01 2024 Cross-referenced by PHPXref