[ 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: 384 lines (12 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

param: array $args

before()   X-Ref
Action to perform 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
param: WP_Error $wp_error WP_Error.

after()   X-Ref
Action to perform following a single theme install.


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

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



Generated : Thu Oct 22 08:20:02 2020 Cross-referenced by PHPXref