Get list of WP Updates Across Sites

Is there a way to query a WP site to see the number of updates currently available? I’m not really looking for a list of the actual updates, just the number. This would be the total number of Plugin/Theme/Core updates, like it is listed in the WP admin menu.

I manage multiple WP sites across multiple servers and would like an easier way of knowing when updates are available, rather than checking them individually.

Related posts

Leave a Reply

5 comments

  1. Take a look into wp-admin/includes/update.php file. There you can see get_core_updates(), get_plugin_updates() and get_theme_updates() functions. Eeach function returns array of required updates. So you need just summarize counts of these arrays:

    $total_updates = count( get_core_updates() ) + count( get_plugin_updates() ) + count( get_theme_updates() );
    
  2. Your best bet is a 3rd party service that will aggregate all your sites’ update status and several have been mentioned already.

    There is another one that’s free also, http://worpit.com that gives you full view on your updates across all your sites.

    Hope that helps give you some other options.