oocommerce上产品属性中的html标签


html tags in products attributes on woocommerce

目前我正在使用WooCommerce,我正试图在产品的属性中插入HTML代码,但为了保存这个转义的HTML标记

有没有一种方法可以在属性中放置HTML标记?

使用jQuery。您的更改将在页面呈现时添加。示例:

$('#link').attr('my-attr', 'my-value');