Changes between Initial Version and Version 1 of Ticket #33121, comment 28
- Timestamp:
- 07/03/2020 02:40:37 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33121, comment 28
initial v1 12 12 > Fixes #33121. 13 13 > }}} 14 I'm trying to modify HTML markup inside WooCommerce Gutenberg block using this filter: 15 16 {{{ 17 woocommerce_blocks_product_grid_item_html 18 }}} 19 20 wp_kses and wp_kses_post functions stripping out 'add to cart' button's data attributes with underscore sign: 21 22 {{{ 23 data-product_id 24 data-product_sku 25 }}} 26 27 28 I'm wondering can I prevent stripping these attributes by wp_kses function?