• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress core a2z

WordPress core a2z

WordPress core only

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / WP_Automatic_Updater::run() – Kicks off the background update process, looping through all pending updates.

You appear to be a bot. Output may be restricted

Description

Kicks off the background update process, looping through all pending updates.

Usage

WP_Automatic_Updater::run();

Parameters

Returns

void

Source

File name: wordpress/wp-admin/includes/class-wp-automatic-updater.php
Lines:

101 to 117 of 117
        $this->WP_Automatic_Updater::after_core_update( $this->update_results['core'][0] );
      } elseif ( ! empty( $this->update_results['plugin'] ) || ! empty( $this->update_results['theme'] ) ) {
        $this->after_plugin_theme_update( $this->update_results );
      }

      
/**
 * Fires after all automatic updates have run.
 *
 * @since 3.8.0
 *
 * @param array $update_results The results of all attempted updates.
 */
      do_action( 'automatic_updates_complete', $this->update_results );
    }

    WP_Upgrader::WP_Upgrader::release_lock( 'auto_updater' );
  }
 
« Previous [1] [2]

 View on GitHub View on Trac

Published: 25th November 2019 | Last updated: 21st August 2020

Primary Sidebar

Information

Function name: WP_Automatic_Updater::run
Class ref: WP_Automatic_Updater
Plugin ref: WordPress
Version: 5.7.1
Sourcefile: wp-admin/includes/class-wp-automatic-updater.php
File ref: wp-admin/includes/class-wp-automatic-updater.php
Deprecated?: No
API Letters: A,R,U,W

Footer

WP-a2z
WordPress core a2z
WordPress core only
WordPress 5.7.1
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  core.wp-a2z.org
© Copyright WP-a2z 2014-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites