Skip to content

Instantly share code, notes, and snippets.

@unfulvio
Created April 13, 2016 21:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unfulvio/e88f7de422f923c4cf02d6f5ec483706 to your computer and use it in GitHub Desktop.
Save unfulvio/e88f7de422f923c4cf02d6f5ec483706 to your computer and use it in GitHub Desktop.
Disable WooThemes Updater Notice
<?php
/*
* Plugin Name: Disable WooThemes Updater Notice
* Version: 1.0.0
* Plugin URI: https://github.com/unfulvio/
* Description: Disables the WooThemes Updater activation notice nag when the Updater is deactivated.
* Author: Fulvio Notarstefano
* Author URI: https://github.com/unfulvio/
* Requires at least: 4.0
* Tested up to: 4.5
*
* Text Domain: disable-woothemes-updater-notice
* Domain Path: /lang/
*/
add_action( 'init', 'sv_remove_woothemes_helper_nag' );
/**
* Remove the WooThemes updater notice
*
* @since 1.0.0
*/
function sv_remove_woothemes_helper_nag() {
remove_action( 'admin_notices', 'woothemes_updater_notice' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment