wp_maybe_auto_update()

Performs WordPress automatic background updates.


Description Description

Updates WordPress core plus any plugins and themes that have automatic updates enabled.


Top ↑

Source Source

File: wp-includes/update.php

function wp_maybe_auto_update() {
	include_once ABSPATH . 'wp-admin/includes/admin.php';
	require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';

	$upgrader = new WP_Automatic_Updater;
	$upgrader->run();
}

Top ↑

Changelog Changelog

Changelog
Version Description
3.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.