Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-admin/includes/class-theme-upgrader.php

Theme_Upgrader::delete_old_theme()

Method: Delete the old theme during an upgrade.

Source: wp-admin/includes/class-theme-upgrader.php:710

Used by 0 functions | Uses 2 functions

Theme_Upgrader::theme_info()

Method: Get the WP_Theme object for a theme.

Source: wp-admin/includes/class-theme-upgrader.php:743

Used by 2 functions | Uses 1 function

Theme_Upgrader::current_before()

Method: Turn on maintenance mode before attempting to upgrade the active theme.

Source: wp-admin/includes/class-theme-upgrader.php:636

Used by 0 functions | Uses 2 functions

Theme_Upgrader::current_after()

Method: Turn off maintenance mode after upgrading the active theme.

Source: wp-admin/includes/class-theme-upgrader.php:668

Used by 0 functions | Uses 4 functions

Theme_Upgrader

Class: Core class used for upgrading/installing themes.

Source: wp-admin/includes/class-theme-upgrader.php:21

Used by 0 functions | Uses 1 function

Theme_Upgrader::upgrade_strings()

Method: Initialize the upgrade strings.

Source: wp-admin/includes/class-theme-upgrader.php:55

Used by 2 functions | Uses 1 function

Theme_Upgrader::install_strings()

Method: Initialize the installation strings.

Source: wp-admin/includes/class-theme-upgrader.php:72

Used by 1 function | Uses 1 function

Theme_Upgrader::check_parent_theme_filter()

Method: Check if a child theme is being installed and we need to install its parent.

Source: wp-admin/includes/class-theme-upgrader.php:124

Used by 0 functions | Uses 6 functions

Theme_Upgrader::hide_activate_preview_actions()

Method: Don’t display the activate and preview actions to the user.

Source: wp-admin/includes/class-theme-upgrader.php:209

Used by 0 functions | Uses 0 functions

Theme_Upgrader::install()

Method: Install a theme package.

Source: wp-admin/includes/class-theme-upgrader.php:230

Used by 0 functions | Uses 10 functions

Theme_Upgrader::upgrade()

Method: Upgrade a theme.

Source: wp-admin/includes/class-theme-upgrader.php:295

Used by 0 functions | Uses 12 functions

Theme_Upgrader::bulk_upgrade()

Method: Upgrade several themes at once.

Source: wp-admin/includes/class-theme-upgrader.php:376

Used by 0 functions | Uses 15 functions

Theme_Upgrader::check_package()

Method: Checks that the package source contains a valid theme.

Source: wp-admin/includes/class-theme-upgrader.php:516

Used by 0 functions | Uses 7 functions
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry