Woocommerce updater removal

I have tried the following function to get rid of the updater removal but it just won’t go away.

/*********************************************************************************************/
/********************************** Remove WooCommerce Updater  *******************************/
/*********************************************************************************************/

remove_action('admin_notices', 'woothemes_updater_notice');

I also tried this:

Read More
<?php

/*
Plugin Name: My Admin Theme
Plugin URI: http://example.com
Description: My WordPress Admin Theme - Upload and Activate.
Author: Ms. WordPress
Version: 1.0
Author URI: http://example.com
*/

function my_admin_theme_style() {
    wp_enqueue_style('my-admin-theme', plugins_url('wp-admin.css', __FILE__));
}
add_action('admin_enqueue_scripts', 'my_admin_theme_style');
add_action('login_enqueue_scripts', 'my_admin_theme_style');

?>

With CSS attached to it:

.updated.fade {display:none;}

NOTHING WORKS. Any “geniuses” out there?

Related posts

Leave a Reply

1 comment

  1. here is your magic trick (does not require plugin, can be in themes functions.php):

    function removewoo_updates_info( $value ) {
       unset( $value->response['woocommerce/woocommerce.php'] );
       return $value;
    }
    add_filter( 'site_transient_update_plugins', 'removewoo_updates_info' );
    

    But be careful, updates are necessary 😉