Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Force auto update
<?php
// Force an auto update
require( dirname(__FILE__) . '/wp-load.php' );
delete_option( 'auto_updater.lock' );
wp_maybe_auto_update();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment