title: How do insert/execute a shortcode within a wc_add_notice box?
body: <p>I'm trying to add a shortcode into a wc_add_notice box. Please can someone show me how to do this, or indicate an alternative route which suits the usage.</p>
  <p>Below is two pieces of code, one is the notice box, the other is an echo with the shortcode inside.</p>
  <p>The end goal is to have a button inside the notice, which when clicked opens up a plugins popup sign up form.</p>
  <p>Thanks,</p>
  <pre><code>wc_add_notice( __( 'Please Sign Up or Login', 'my-plugin ' ) );
      
  &lt;?php echo do_shortcode(' [arm_form id=&quot;102&quot; logged_in_message=&quot;You are already logged in.&quot; popup=&quot;true&quot; &quot; link_title=&quot;Sign In/Signup to Enter&quot; link-type=&quot;onload&quot;] &lt;/body&gt;&lt;/html&gt;'); ?&gt;
  &lt;?php
  }
  </code></pre>