title: Hide / Change WooCommerce admin notice
body: <p>Hi WooCommerce ninjas! </p>
  
  <p>I'm developing WooCommerce plugin and every time when I submit form (Save Changes button) on top shows update notice with 'Your settings have been saved.'. How I can hide or change this notice, I'm use <code>woocommerce_show_admin_notice</code> filter but don't work in my plugin class. Below is part of code from my plugin. Any ideas for hook who will be usefull? </p>
  
  <p>Great thanks! </p>
  
  <pre><code>&lt;?php 
  class name_of_plugin extends WC_Payment_Gateway {
     public $error = '';
  
     // Setup our Gateway's id, description and other values
     function __construct() {
      $this-&gt;id = "name_of_plugin";
      $this-&gt;method_title = __( "Name", 'domain' );
      $this-&gt;method_description = __( "Gateway Plug-in for WooCommerce", 'domain' );
      $this-&gt;title = __( "TFS VPOS", 'domain' );
      $this-&gt;icon = null;
      $this-&gt;has_fields = false;
      $this-&gt;init_settings();
      $this-&gt;init_form_fields();
      $this-&gt;title = $this-&gt;get_option( 'title' );
  
  
      $this-&gt;testurl = 'https://example.com/payment/api';
      $this-&gt;liveurl = 'https://example.com/payment/api';
  
  
      // Save settings
      if ( is_admin()) {
          add_action( 'woocommerce_update_options_payment_gateways_' . $this-&gt;id, array( $this, 'process_admin_options' ) );
      }
  
      // Disable Admin Notice
      add_filter( 'woocommerce_show_admin_notice', array( $this, 'shapeSpace_custom_admin_notice' ), 10, 2 );
      // add the filter 
      add_filter( 'woocommerce_add_error', array( $this, 'filter_woocommerce_add_notice_type' ), 10, 1 ); 
  
     } // End __construct()
  
    // display custom admin notice
    public function filter_woocommerce_add_notice_type($true, $notice ) {
      // magic happen here...
      return $true;
    }
  </code></pre>