woocommerce_template_loop_product_link_open()WC 1.0

Insert the opening anchor tag for products in the loop.

Hooks from the function

Return

null. Nothing.

Usage

woocommerce_template_loop_product_link_open();

Code of woocommerce_template_loop_product_link_open() WC 6.8.2

function woocommerce_template_loop_product_link_open() {
	global $product;

	$link = apply_filters( 'woocommerce_loop_product_link', get_the_permalink(), $product );

	echo '<a href="' . esc_url( $link ) . '" class="woocommerce-LoopProduct-link woocommerce-loop-product__link">';
}