How to get product attribute link on WooCommerce single product page
I am using WooCommerce and I want to get the current product attribute URL to be used on the single product page, replacing the code <category_url>/?filter_preco= by the URL. Here is my code: add_action( 'woocommerce_single_product_summary', 'cj_show_attribute_links', 4 ); function cj_show_attribute_links()…