Class Theme_Upgrader

Description

Theme Upgrader class for WordPress Themes, It is designed to upgrade/install themes from a local zip, remote zip URL, or uploaded zip file.

  • TODO: More Detailed docs, for methods as well.
  • since: 2.8.0

Located in /wp-admin/includes/class-wp-upgrader.php (line 643)

WP_Upgrader
   |
   --Theme_Upgrader
Variable Summary
mixed $bulk
mixed $result
Method Summary
void bulk_upgrade ( $themes)
void check_package ( $source)
void check_parent_theme_filter ( $install_result,  $hook_extra,  $child_result)
void current_after ( $return,  $theme)
void current_before ( $return,  $theme)
void delete_old_theme ( $removed,  $local_destination,  $remote_destination,  $theme)
void hide_activate_preview_actions ( $actions)
void install ( $package)
void install_strings ()
void theme_info ([ $theme = null])
void upgrade ( $theme)
void upgrade_strings ()
Variables
mixed $bulk = false (line 646)
mixed $result (line 645)

Redefinition of:
WP_Upgrader::$result

Inherited Variables

Inherited from WP_Upgrader

WP_Upgrader::$skin
WP_Upgrader::$strings
Methods
bulk_upgrade (line 821)
void bulk_upgrade ( $themes)
  • $themes
check_package (line 910)
void check_package ( $source)
  • $source
check_parent_theme_filter (line 678)
void check_parent_theme_filter ( $install_result,  $hook_extra,  $child_result)
  • $install_result
  • $hook_extra
  • $child_result
current_after (line 953)
void current_after ( $return,  $theme)
  • $return
  • $theme
current_before (line 937)
void current_before ( $return,  $theme)
  • $return
  • $theme
delete_old_theme (line 977)
void delete_old_theme ( $removed,  $local_destination,  $remote_destination,  $theme)
  • $removed
  • $local_destination
  • $remote_destination
  • $theme
hide_activate_preview_actions (line 737)
void hide_activate_preview_actions ( $actions)
  • $actions
install (line 742)
void install ( $package)
  • $package
install_strings (line 659)
void install_strings ()
theme_info (line 992)
void theme_info ([ $theme = null])
  • $theme
upgrade (line 773)
void upgrade ( $theme)
  • $theme
upgrade_strings (line 648)
void upgrade_strings ()

Inherited Methods

Inherited From WP_Upgrader

WP_Upgrader::__construct()
WP_Upgrader::download_package()
WP_Upgrader::fs_connect()
WP_Upgrader::generic_strings()
WP_Upgrader::init()
WP_Upgrader::install_package()
WP_Upgrader::maintenance_mode()
WP_Upgrader::run()
WP_Upgrader::unpack_package()

Documentation generated on Tue, 15 May 2012 23:17:53 +0000 by phpDocumentor 1.4.1