[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

Upgrader API: Theme_Installer_Skin class

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

Defines 1 class

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


Class: Theme_Installer_Skin  - X-Ref

Theme Installer Skin for the WordPress Theme Installer.

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

Sets up the theme installer skin.

param: array $args

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


hide_process_failed( $wp_error )   X-Ref
Hides the `process_failed` error when updating a theme 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 single theme install.


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

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



Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref