woocommerce_template_loop_category_link_open( int|object|string $category )
Insert the opening anchor tag for categories in the loop.
Description Description
Parameters Parameters
- $category
-
(Required) Category ID, Object or String.
Source Source
File: includes/wc-template-functions.php
function woocommerce_template_loop_category_link_open( $category ) { echo '<a href="' . esc_url( get_term_link( $category, 'product_cat' ) ) . '">'; }