Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_maybe_auto_update ›

Da3.7.0
Deprecaton/a
wp_maybe_auto_update ( Nessun parametro )
Definito a:
Codex:

Performs WordPress automatic background updates.



Sorgenti

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

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