woocommerce_product_loop_title_classes

woocommerce_product_loop_title_classes

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_product_loop_title_classes') is found 1 times:

  • /includes/wc-template-functions.php line 1177
    	/**
    	 * Show the product title in the product loop. By default this is an H2.
    	 */
    	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
    	}
    }
    if ( ! function_exists( 'woocommerce_template_loop_category_title' ) ) {
    
    	/**
    	 * Show the subcategory title in the product loop.