woocommerce_template_loop_product_title()
Show the product title in the product loop. By default this is an H2.
Contents
Description Description
Source Source
File: includes/wc-template-functions.php
function woocommerce_template_loop_product_title() { echo '<h2 class="' . esc_attr( apply_filters( 'woocommerce_product_loop_title_classes', 'woocommerce-loop-product__title' ) ) . '">' . get_the_title() . '</h2>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped }