title: How to add a custom wc_add_notice in Admin Pages?
body: <p>I try to add a wc notice in an admin page.</p>
  
  <pre><code>function some_hook_function() {
  
   wc_add_notice(__('Done!'), 'notice');
  
   wp_safe_redirect( wp_get_referer() ? wp_get_referer() : admin_url( 'edit.php?post_type=shop_order' ) );
  
   exit;
  }
  
  add_action( 'some_action' , 'some_hook_function', 10);
  </code></pre>
  
  <p>However it doesn't work. I am able to add an admin notice but I don't want to do that. I just need a classical wc notice after a redirection.</p>