Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Enable background updates for version controlled sites
<?php
/*
Plugin Name: Enable background updates for version controlled sites
Plugin URI: http://www.iweb.co.uk/
Description: Override the check for version controlled checkouts to allow automatic updates.
Version: 1.0
Author: iWeb
Author URI: http://www.iweb.co.uk/
*/
add_filter( 'automatic_updates_is_vcs_checkout', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment