wc_add_notice is removing html tags

[ad_1]

Hi, how can I show the link using the wc_add_notice function?

For example this code: wc_add_notice( __( 'Please login <a href="https://example.com">HERE<a/>', 'woocommerce' ), 'error' );. The anchor tag is removed and only the text “HERE” remains.

Everything is updated and I am using Storefront theme and only WooCommerce plugin is activated. Please help. Thanks!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer