[ Index ]

PHP Cross Reference of WordPress

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:0 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.

since: 2.8.0

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

param: WP_Error $wp_error WP_Error object.
return: bool
since: 5.5.0

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

since: 2.8.0

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.
since: 5.5.0



Generated: Thu Apr 18 01:00:02 2024 Cross-referenced by PHPXref 0.7.1