Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Plugin Name: Zone Updateall
Plugin URI:
Description: Allow automatic WP and plugin updates. No fancy settings, just does the job.
Author: Peeter Marvet
Version: 0.1
Author URI:
// always update WordPress core (major and minor versions)
if ( ! defined( 'WP_AUTO_UPDATE_CORE' ) || 'WP_AUTO_UPDATE_CORE' !== true ) {
define( 'WP_AUTO_UPDATE_CORE', true );
// allow automatic plugin updates
add_filter( 'auto_update_plugin', '__return_true' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.